Project

General

Profile

On SUSPEND » History » Revision 2

Revision 1 (Per Amundsen, 11/14/2015 01:27 AM) → Revision 2/3 (Per Amundsen, 11/14/2015 01:28 AM)

_Added in 2.0_ 

 *on <level>:SUSPEND:<commands>* 

 Triggers when the computer is about to suspend/sleep. suspend. 

 *Parameters* 

 <level> - The level for the event to trigger. 
 <commands> - The commands to be performed when the event listener's criteria is met. 

 *Example* 

 <pre> 
 on *:SUSPEND:echo -ag Computer is about to suspend. 
 </pre>