Close window if exists Version 14 (Net)
Action group: Windows
Description
This action is intended to close the window, if it exists.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Window name | The name of the window to apply the action to. Search is possible by partial window name using a regular expression | Robin.String | Yes | |
Time-out | Time in milliseconds to find required window. | Robin.Numeric | No | |
Window order | When found more than one window, action would interact with window defined by order | Robin.Numeric | No |
Special conditions of use
The action does not work with taskbar, explorer, and workspace.
Example of use
Task
There is an open Paint window. It is necessary to close it.
Solution
Use the "Close window if exists" action.
Implementation
- Move the "Close window if exists" action to the workspace.
and set its parameters:
In the "Window name" field specify the name of the window to be closed.
In the "Timeout" field specify - 3000. - Click "Start" in the top panel to start the robot.
Result
The program robot completed successfully. The window is closed.
Обзор
Инструменты контента