Support Import

If Window Action

This Action marks the beginning of a conditional block of Actions depending on whether a window is open or not or whether a window is the focused (foreground) window.


by Window Control


by Window Instance/Handle


by Title and/or Class


Get Window:

Choose whether the Action gets the target window from a "Window Instance" variable, or searches for it by Title and/or Class.

Window Instance:

Enter the variable that contains the Window Instance which you want to bring to front. This must be a variable defined by a preceding “Get Window” Action or a valid Window Handle.

Window Title:

Choose the title of the window. You can use wildcards, like '?' or '*'. If you can't find the window title in the dropdown list, type it yourself, or open it and press the Refresh button to the right.

Window Class:

Optional: If you have two windows with the same title, Window Class may help differentiate between them. In this case, enter the class of the window you wish to use. Otherwise, leave this blank.

Check if Window:

The state of the window to be checked. Choose between: Open, Not Open, Focused, Not Focused.