Difference between revisions of "Shutter:Events"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
Below is a list of all available events. | Below is a list of all available events. | ||
− | {| | + | {| style="" class="wikitable" |
|- | |- | ||
− | ! Event<br> | + | ! scope="col" | Event<br> |
− | + | ! align="center" scope="col" | '''Definition'''<br> | |
− | + | ! align="center" scope="col" | '''Typical uses<br>''' | |
|- | |- | ||
− | + | | Countdown | |
| | | | ||
Simple event that counts down from the specified ''amount'' of time. | Simple event that counts down from the specified ''amount'' of time. | ||
Line 21: | Line 21: | ||
|- | |- | ||
− | + | | On Time | |
| Event is triggered when the current time (as displayed in the system tray) reaches the specified time. | | Event is triggered when the current time (as displayed in the system tray) reaches the specified time. | ||
'''Note:''' Prior to v3.00 Beta 35, the '''On Time''' event worked in the same manner as the '''Countdown''' event, counting down the initial time difference between the current time and the target time. However, that method prevented the '''On Time '''event from working correctly if the system time was changed or if Windows entered a suspended state. | '''Note:''' Prior to v3.00 Beta 35, the '''On Time''' event worked in the same manner as the '''Countdown''' event, counting down the initial time difference between the current time and the target time. However, that method prevented the '''On Time '''event from working correctly if the system time was changed or if Windows entered a suspended state. | ||
Line 30: | Line 30: | ||
|- | |- | ||
− | + | | Winamp Stops | |
| Event periodically checks the playback state of [http://www.winamp.com/ Winamp]. The event is triggered once it is detected that application is no longer playing the media. | | Event periodically checks the playback state of [http://www.winamp.com/ Winamp]. The event is triggered once it is detected that application is no longer playing the media. | ||
'''Note:''' [http://forums.winamp.com/showthread.php?threadid=180297 Winamp Messaging API] is used to achieve this. | '''Note:''' [http://forums.winamp.com/showthread.php?threadid=180297 Winamp Messaging API] is used to achieve this. | ||
Line 38: | Line 38: | ||
|- | |- | ||
− | + | | Low CPU Usage | |
| Periodically check the processor usage and trigger event when the usage stays below the specified mark for the specified amount of time. | | Periodically check the processor usage and trigger event when the usage stays below the specified mark for the specified amount of time. | ||
| | | | ||
Line 44: | Line 44: | ||
|- | |- | ||
− | + | | User Inactive | |
| Track the time of user's last mouse and keyboard activity. Trigger event when user is inactive for the specified period of time. | | Track the time of user's last mouse and keyboard activity. Trigger event when user is inactive for the specified period of time. | ||
| | | | ||
Line 51: | Line 51: | ||
|- | |- | ||
− | + | | Battery Low | |
| Monitor power battery level and trigger event when level drops below specified level. | | Monitor power battery level and trigger event when level drops below specified level. | ||
| | | | ||
Line 58: | Line 58: | ||
|- | |- | ||
− | + | | Window Closes | |
| Monitor opened windows for the specified title match. Event is triggered when specified title does not match any of the opened windows. | | Monitor opened windows for the specified title match. Event is triggered when specified title does not match any of the opened windows. | ||
| | | | ||
Line 65: | Line 65: | ||
|- | |- | ||
− | + | | Process Stops | |
| Monitor all processes that match the specified filename. Event is triggered when the specified filename is not found in the list of executing processes. | | Monitor all processes that match the specified filename. Event is triggered when the specified filename is not found in the list of executing processes. | ||
| | | | ||
Line 72: | Line 72: | ||
|- | |- | ||
− | + | | Ping Stops | |
| [http://en.wikipedia.org/wiki/Ping Ping] the specified host and trigger when host is not responding for the specified period of time. Useful for monitoring availability of network services. | | [http://en.wikipedia.org/wiki/Ping Ping] the specified host and trigger when host is not responding for the specified period of time. Useful for monitoring availability of network services. | ||
| | | | ||
Line 78: | Line 78: | ||
|- | |- | ||
− | + | | File Size Limit | |
| Periodically check the size of the specified file and trigger event when file reaches the specified size. Size "0" can be used to check whether file exists or not. | | Periodically check the size of the specified file and trigger event when file reaches the specified size. Size "0" can be used to check whether file exists or not. | ||
| | | |
Revision as of 15:59, 26 May 2010
Below is a list of all available events.
Event |
Definition |
Typical uses |
---|---|---|
Countdown |
Simple event that counts down from the specified amount of time. The Event is triggered when the timer reaches zero. |
|
On Time | Event is triggered when the current time (as displayed in the system tray) reaches the specified time.
Note: Prior to v3.00 Beta 35, the On Time event worked in the same manner as the Countdown event, counting down the initial time difference between the current time and the target time. However, that method prevented the On Time event from working correctly if the system time was changed or if Windows entered a suspended state. |
|
Winamp Stops | Event periodically checks the playback state of Winamp. The event is triggered once it is detected that application is no longer playing the media.
Note: Winamp Messaging API is used to achieve this. |
|
Low CPU Usage | Periodically check the processor usage and trigger event when the usage stays below the specified mark for the specified amount of time. |
|
User Inactive | Track the time of user's last mouse and keyboard activity. Trigger event when user is inactive for the specified period of time. |
|
Battery Low | Monitor power battery level and trigger event when level drops below specified level. |
|
Window Closes | Monitor opened windows for the specified title match. Event is triggered when specified title does not match any of the opened windows. |
|
Process Stops | Monitor all processes that match the specified filename. Event is triggered when the specified filename is not found in the list of executing processes. |
|
Ping Stops | Ping the specified host and trigger when host is not responding for the specified period of time. Useful for monitoring availability of network services. |
|
File Size Limit | Periodically check the size of the specified file and trigger event when file reaches the specified size. Size "0" can be used to check whether file exists or not. |
|