On SUSPEND » History » Version 3
Per Amundsen, 02/24/2017 09:37 PM
1 | 1 | Per Amundsen | _Added in 2.0_ |
---|---|---|---|
2 | |||
3 | *on <level>:SUSPEND:<commands>* |
||
4 | |||
5 | 2 | Per Amundsen | Triggers when the computer is about to suspend/sleep. |
6 | 1 | Per Amundsen | |
7 | *Parameters* |
||
8 | |||
9 | 3 | Per Amundsen | <level> - The [[User Access Level]] for the event to trigger. |
10 | 1 | Per Amundsen | <commands> - The commands to be performed when the event listener's criteria is met. |
11 | |||
12 | *Example* |
||
13 | |||
14 | <pre> |
||
15 | on *:SUSPEND:echo -ag Computer is about to suspend. |
||
16 | </pre> |