Macro > Triggers >

www.MacroToolworks.com

Window

 

This trigger type allows to start macro when an application window is opened, activated, closed, etc.

 

Window state

Activated - window is brought on top receiving keyboard input (window that user is currently working).

Deactivated - other window is activated so this one is not active anymore.

Opened - application is started and its window is created.

Closed - application is closed.

 

Window Identifier

A prescription that identifies the window. It consists from window title, window class and other characteristics. A [...] button can be used to edit the window identifier (typically "Select Window" button is used to extract the window identifier from an open window). Window identifier can contain * and ? wild-cards to allow more flexible matching of the window identifier to existing windows.

 

Exact match 

If checked then the window identifier must match an existing window exactly. Otherwise just partial match (such as case insensitive) succeeds.