Difference between revisions of "Shutter:Events"
Line 3: | Line 3: | ||
Below is a list of all available events. | Below is a list of all available events. | ||
− | {| | + | Remember that Shutter is often used with a ''set'' of multiple events (rather than a single event); and these events have a [[Shutter:Logic|pre-defined relationship]] between them. |
+ | |||
+ | {| style="" class="wikitable" | ||
|- | |- | ||
! scope="col" | Event<br> | ! scope="col" | Event<br> | ||
Line 11: | Line 13: | ||
| Countdown | | Countdown | ||
| | | | ||
− | + | User enters some amount of time (in terms of '''''Hours:Miutes:seconds''''').Shutter counts down to zero. <br>This Event is considered "triggered" when the timer reaches zero. | |
+ | |||
+ | *This is the only event that is controlled by Shutter: All other events are external to Shutter, and Shutter only ''monitors'' them. | ||
+ | |||
− | |||
| | | | ||
Line 63: | Line 67: | ||
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. | ||
− | *The name is NOT case-sensitive. | + | *The name is NOT case-sensitive. |
*You can specify wildcards to find a <u>partial</u> match. For example, '''''*Firefox*'''''<br>If you do not use wildcards, Shutter will look for an <u>exact</u> match (if the actual Window name has more characters compared to the specified string, Shutter will treat it as "not matching")<span style="font-weight: bold;">.</span> | *You can specify wildcards to find a <u>partial</u> match. For example, '''''*Firefox*'''''<br>If you do not use wildcards, Shutter will look for an <u>exact</u> match (if the actual Window name has more characters compared to the specified string, Shutter will treat it as "not matching")<span style="font-weight: bold;">.</span> | ||
− | '''Note:''' Be careful when specifying the window name: The text should match with what you see in the '''Title Bar '''of the application (the top bar of the application's window). Sometimes the '''Title Bar''' shows the file that is opened in the application, instead of the application's name.<br> | + | '''Note:''' Be careful when specifying the window name: The text should match with what you see in the '''Title Bar '''of the application (the top bar of the application's window). Sometimes the '''Title Bar''' shows the file that is opened in the application, instead of the application's name.<br> |
| | | |
Revision as of 13:07, 27 May 2010
Below is a list of all available events.
Remember that Shutter is often used with a set of multiple events (rather than a single event); and these events have a pre-defined relationship between them.
Event |
Definition |
Typical uses |
---|---|---|
Countdown |
User enters some amount of time (in terms of Hours:Miutes:seconds).Shutter counts down to 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.
Note: Be careful when specifying the window name: The text should match with what you see in the Title Bar of the application (the top bar of the application's window). Sometimes the Title Bar shows the file that is opened in the application, instead of the application's name. |
|
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. |
|