Usage
BDV SystemEvents utility must be running to monitor system events and execute user-defined commands. So when you close the main window it is minimized to system tray. Right-click on the program icon in a tray will cause a context menu to appear, where you can restore the window or exit BDV SystemEvents.
If you want the program to start automatically every time you turn on your computer, check “Autostart” option.
The main window contains a list of tasks. Each task consists of action and condition. Once the condition is met, program performs the action.
Please note: when condition becomes true, the action is performed only once. For example, if specified condition is true when the program starts, associated action will be performed. The action will be executed again only if the condition becomes false, and then again becomes true.
Also remember that condition ceases to be checked as long as associated action is executing. For example, if some application has been started by the action, associated condition will not be checked until this application will be closed.
Tasks
Each task combines condition and action that is executed when the condition becomes true.
To create or edit a task, click appropriate button in the main window. It will opens task editing window, where you can specify “Task Name” and make task active or inactive.
If you want action to be executed only once and then became inactive, use “Run Once” checkbox.
Below are the tabs, where you can select and configure action and condition.
Actions
There are two tabs in the task editing window: "Action" and "Condition".
Navigate to the "Action" tab to select and adjust action which will be performed once the condition becomes true.
In the first drop-down list select one of the following actions:
- Run Screen Saver — launch a screen saver. Select desired screen saver name in the “Screen Saver” field.
- Run Application — execute program or batch file. Specify desired executable or batch file name with all necessary command line parameters.
- Shut Down — In the “Action” drop-down list select desired shutdown option: “Log out current user”, “Power off computer” or “Restart computer”. If you want shutdown to be completed even if some application is frozen or contains unsaved data, select “Force” checkbox. When this action is executed, pop-up appears and user have 20 seconds to cancel the shutdown.
- Write Log — write an entry into a log file. Specify a name of log file in the “Log File” field. If the file does not exist, it will be created. In the “Message” field type any message which will be written into a log file together with current date and time.
- Show Message — almost the same as previous, but the message displayed in the alert window and may be accompanied by a sound signal. In the “Message” field type any message which will be displayed on a screen together with current date and time. Use “Play Sound” field to specify desired sound file to be played.
“Test” button allows you to execute current action and check all of the adjustments.
Conditions
There are two tabs in the task editing window: "Action" and "Condition".
Navigate to the "Condition" tab to select and adjust condition which will be checked before performing of an action.In the first drop-down list select one of the following actions:
- Idle — check for user inactivity. Select desired option in the “When not used” drop-down list: “Keyboard and mouse”, “Keyboard” or “Mouse”. Use “Wait” field to specify how much user idle time must elapse before executing of an action.
- Time Out — in the “Wait” field specify desired interval. Action will be executed every time the interval expires.
- Application — check whether specified program is running. Select desired option in the “Condition” drop-down list: “When specified application is running” or “When specified application is NOT running”. Use “Application” field to specify a name of application in the same form as it can be found in Task Manager (e.g. “notepad.exe”).
- Ping — check for connection with a Web server or remote computer. In the “URL” field enter a network address or name. In the “Condition” drop-down list select desired option: “When ping is successful” or “When ping is NOT successful”. Use “Interval” field to specify how often test requests must be sent.