Difference between revisions of "Shutter:Events"
(Methods for monitoring user inactivity) |
("File Size" event description updated) |
||
Line 97: | Line 97: | ||
#Warn the user that the remote PC is not communicating any more (either bad link or crash). | #Warn the user that the remote PC is not communicating any more (either bad link or crash). | ||
|- | |- | ||
− | | File Size | + | | File Size |
− | | Periodically check the size of the specified file and trigger event when file reaches | + | | Periodically check the size of the specified file and trigger the event when the selected condition is met. |
+ | |||
+ | The list of available conditions: | ||
+ | |||
+ | # file reaches a certain size; | ||
+ | # file is created; | ||
+ | # file no longer exists. | ||
+ | |||
+ | Internally, when the file or directory does not exist, it has an effective size of "-1". | ||
| | | | ||
#Take a backup of the file. | #Take a backup of the file. |
Revision as of 20:36, 16 October 2020
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 | Description | Example uses |
---|---|---|
Countdown | Count down a specified amount of time. This Event is considered "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. |
|
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. |
|
CPU Usage | Periodically check the processor usage and trigger event when the usage stays above (or below) the specified mark for the specified amount of time. |
|
Network usage | Check the network's load (select from total, upload only, or download only); and if it falls below specified limit for the specified duration, then the event is triggered. |
|
User Inactive |
Track the time of user's last mouse and keyboard activity. Trigger the event when the user has been inactive for the specified period of time. Methods for monitoring user inactivity:
|
|
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 | Periodically check the size of the specified file and trigger the event when the selected condition is met.
The list of available conditions:
Internally, when the file or directory does not exist, it has an effective size of "-1". |
|