First download XEvent plugin and install the files in a repertory « XEvent » of the xlobby plugins directory then start xlobby.
XEvent
Go to the set up, plugins tab, select XEvent and press config :
Copy and past in “trigger event” plugin something like:
Every-year every-month every-day-except-weekend|06:00|alarm:play alarm|alarmclock
Where “alarm” is an eventgroup of your skin and “play alarm” is your event that you want to launch.
“alarmclock” is a name that you give for this application
so, create an event “play alarm” with all commands that that you want to execute at 6:00 (play file song, refresh weather, goto weather screen etc...)
your event “play alarm” will be execute everyday at 6:00 except weekend
to add a snooze button,
create an other event to execute your alarmclock file song named i.e. “repeatalarm” in the eventgroup “alarm”.
then create an event with 2 commands (2 under-event) the first to stop the alarmclock file song, the second, a command
plugin:XEvent with command= “add delayed event” and in parameter write something like :
10|alarm:repeatalarm|snooze
where snooze is the name of this xevent command. And then assign this event to a button on your screen.
To stop your alarmclock and your snooze process, create a button assigned to an event named i.e. “stopalarm” with 2 commands, the first to stop the alarmclock file song, the second, a command
plugin:XEventwith command= “Delete Event” and in parameter write the name of your plugin event that you want to stop, here is
snooze
Later,