On SUSPEND » History » Version 2
Per Amundsen, 11/14/2015 01:28 AM
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 | <level> - The level for the event to trigger. |
||
10 | <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> |