История страницы
...
The action determines the coordinates of the specified element in the window and scrolls to this element until it is as close as possible to the center of the screen
Action icon
Parameters
Input parameters
Element - parameter that stores the data of the Win-element whose coordinates will be defined
Timeout - the time in milliseconds for which the desired element will be searched.
Window order - the sequence number of the window that the action should work with. If you do not specify a window number, the first window will be checked. The numbering starts from 1.
...
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Element | A resource that stores data about the selected application element. | Robin.WinElement | Yes | |
Time-out, ms | The time in milliseconds for which the desired element will be searched. | Robin.Numeric | No | |
Window order | The sequence number of the window that the action should work with. If you do not specify a window number, the first window will be checked. The numbering starts from 1. | Robin.Numeric | No |
...
- Assemble a robot scheme with the actions:
- Set the "Run" action parameters.
- Set the parameters of the “Scroll "Scroll to element” element" action. The element must be obtained using the WinSpy tool. Working with WinSpy is described in the Получение win-элемента section. Setting a timeout does not, in general, increase the execution time of an action beyond the time it takes for the item used in the action to become visible and accessible. During the set timeout, the action tries to access the element it is working with. As soon as the item is available, the waiting timeout expires.
- Click "Start" in the top panel.
...
The program robot completed successfully.
Starting position:
The “Scroll "Scroll to element” element" action found the desired Win-element and scrolled to it.
...
Обзор
Инструменты контента