Runs an external program at a specific time or when an event occurs.
RunAt, Target, [Parameter] , EventType,
Eventname
| Target |
A document, URL, executable file (.exe, .com, .bat, etc.), shortcut (.lnk), or system verb to launch (see remarks). If Target is a local file and no path was specified with it, A_WorkingDir will be searched first. If no matching file is found there, the system will search for and launch the file if it is integrated ("known"), e.g. by being contained in one of the PATH folders. |
||||||||||||||||||||||||||
| Parameter | Parameter for the Target. You can leave this empty | ||||||||||||||||||||||||||
| EventType |
|
||||||||||||||||||||||||||
| Eventname | If EventType is CNT_TIME this parameter must be a valid
datetime in the format YYYYMMDDHHMM if EventType is CNT_DELETE this parameter should be empty Following values are valid if EventType is CNT_EVENT:
|
RunAs, Process, Exit, CLSID List, DllCall
;runs pword at the given date and time
RunAt, \windows\pword.exe, , CNT_TIME, 201009040243
;runs calc after the device is powered on from sleeping
RunAt, \windows\calc.exe, , CNT_EVENT , NOTIFICATION_EVENT_WAKEUP
;Deletes the queue
RunAt, \windows\pword.exe, , CNT_DELETE
RunAt, \windows\calc.exe, , CNT_DELETE