Window Watcher

 

 

 

Top  Previous  Next

 

Window Watcher can be used to ask the Scheduler to check for the existence of a window with a particular title, either exactly as it appears on the title bar or you can specify a partial match by using the asterisk * wildcard.

 

Title

This is the title for the event as listed in the 'View All Events' page. All Events

 

Caption

Either enter the exact text (case insensitive) of the Window Title Bar Caption you would like to watch for, or for a partial match put asterisk on the end. For example:

 

Untitled - Notepad - This would watch for a window title bar with an exact match.

Untitled*   - This will match all windows with a title bar containing the word 'Untitled'.

 

Important: Remember to schedule your Window Watcher event. System Scheduler wont go looking for matching windows unless you schedule it to run.

 

Criteria

You can configure the Window Watcher to check for:

Window Exists - Take action if a matching title bar caption is found.

Window Does Not Exist - Take action if matching window is not found, useful to monitor running programs and maybe restart them if they stop running.

Windows is not responding (hung) - System Scheduler will send a message to the Window and if it does not respond will assume it has hung and can take action.

 

Action

Decide what action you would like to take when the window has been spotted.

l                        Send Keypresses / Run Task - This will send keypresses you define to the window and Run another System Scheduler task.
l                        Send Close Signal - Ask the window to shutdown (clean shutdown).
l                        Send Minimize Signal - Ask the window to minimize.
l                        Terminate Application - Will force the application to be closed

 

Perform Action For

If you select the 'Send Close Signal' or 'Send Minimize Signal' action then you can choose to either send the signal to the first matching window, or all matching windows.

 

Sendkeys

Only available if you have selected "Send Keypresses/Run Task" in Action. Enter any keypresses you would like to be automatically sent to the Window. Note: Normally the keypresses are sent to the window, then the task is run. If you select 'Perform Action if Window Does NOT Exist' the reverse is true - the task is run first and then the keypresses are sent. If you have 'Run Event' set to 'none' then the keypresses will be sent to the window you are watching for. In order to send keypresses to the window it needs to be the foreground window. System Scheduler will bring the window to the foreground in order to send keypresses, very occasionally the current foreground window may not relinquish the keyboard focus which will prevent the sendkeys from working.

See Sending Keypresses and Special Keys for more information.

 

Run Task

Only available if you have selected "Send Keypresses/Run Task" in Action. Select any other Scheduler task you would like to run.

 

Saving

Either click the Exit button and you will be prompted to save the reminder, or click the Action menu and Save.

 

Scheduling

Window Watcher can be scheduled to check for a window run once, every minute, hour, day, month or year. See Scheduling Options for more information.

 

 

Back to Introduction