On SUSPEND » History » Version 1
Per Amundsen, 11/14/2015 01:27 AM
1 | 1 | Per Amundsen | _Added in 2.0_ |
---|---|---|---|
2 | |||
3 | *on <level>:SUSPEND:<commands>* |
||
4 | |||
5 | Triggers when the computer is about to suspend. |
||
6 | |||
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> |