The following scripts works as a scheduler. It runs in the Windows traybar and you can activate tasks after X sec/min/hours.
Code: Select all
#Persistent
#SingleInstance ignore
; Tray menu
Menu, Tray, NoStandard ; remove all options
Menu, Tray, Add, About, ClickHandler
Menu, Tray, Default, About
Menu, Tray, Add, Exit, ExitScript ; add exit option
SetTimer, DoAction1, % ((1000*60*60) * 1) ; Run every 1 hours
return
DoAction1:
MsgBox, One hour has passed... do I need to do something for you?
return
ClickHandler:
MsgBox, You did a double click on me!
return
ExitScript:
ExitApp
Return