Action group: Windows
The action focuses on the window element by input device (mouse) element
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Element | Resource with data of selected element in application | Robin.WinElement | Yes | |
Тimeout | Time in milliseconds to find required window. | Robin.Numeric | No | |
Event type | Event type | Robin.String | No | |
Focus | If true, then focus on the element. | Robin.Boolean | true | No |
Window order | When found more than one window, action would interact with window defined by order | Robin.Numeric | No | |
X-axis shift | Number of pixels by which the coordinate point will shift horizontally from the center of the specified element. | Robin.Numeric | No | |
Y-axis shift | Number of pixels by which the coordinate point will shift vertically from the center of the specified element. | Robin.Numeric | No |
No prior activation of the window containing the item is required.
If there are several applications running that match the condition of this block, the operation will be performed with the last running one.
The pixel value can be positive or negative, depending on the way in which the focus should be shifted. Default value = 0 - no shift.
The robot will return an error if:
The group does not work with the taskbar, explorer, and workspace.
Set the focus on the "File" element in notebook and click on the left mouse button.
Use the "Window focus element" button.
The program robot completed successfully. The focus is set on the specified element.