Control Window State
Control the state of a window running on the desktop of the end user.
-
The relevant window is identified by its handle (previously retrieved with the Get Step Window Handle or Find Matching Window Handles command)
-
Available actions:
-
Close
-
Minimize
-
Maximize
-
Restore
-
Bring window to front
-
Select the action you want to take on the relevant window (close, minimize, maximize, bring to front, etc.), and enter the name of the variable in which the handle of the window is stored.
-
Error variable: Enter a designated error variable to get an indication if the command fails.
-
Enable timeout monitoring (optional): Enable timeout monitoring and set the seconds and timeout error text.
See Timeout Monitoring Support.
Why enable timeout monitoring for the “Control window state” command?
For example, if the target window is blocked by a dialog, the Wizard might keep attempting to execute the command ‘endlessly’ unless Timeout Monitoring is enabled.