Set Window State
Description
Maximize or Minimize or Restore the state of the specified window
Properties
Input
-
Window Title – Holds the title of the window identified through Window Selector. You can also type in the title to identify the window for automation.
-
Window Instance - Holds the window instance identified through Window Selector. You can also type in the window instance for automation.
-
Window State - Specify the window state to be set from the dropdown
State | Description |
---|---|
Maximize | Maximizes the window to fit the screen |
Minimize | Minimizes the window to the taskbar |
Restore | Restores the window to its original state |
- Search Parameters – Holds the information of the UI element identified through Element Selector.
Misc
-
DisplayName – The display name of the activity.
-
Private – If selected, the variables and argument values will no longer be logged at the Verbose level.
Optional
- Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.
Note: If this activity is present inside the Try-Catch block, and the value of this property is True, no error would be caught.
Example
Download Example (C#)