Mouse Scroll
Activity simulates movement of the mouse wheel in an application specified by Application Name.
Wheel Scroll action will happen in location relative to hunted GUI Control, as calculated from the chosen starting point (Offset From). Wheel will scroll by Scroll Amount of pixels (up for positive values and down for negative ones)
Positive numbers move location to the right (X Offset) and bottom (Y Offset) while negative numbers to the left (X Offset) and top (Y Offset). The offset is measured in pixels.
To successfully use Mouse Scroll in a scenario ensure the application is on top of the screen (Window Activity can be used beforehand) and that application position, size and screen resolution is the same in both scenario development and production environments.
Acquired Text | String | Output | text input by user |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Application Name | String | Input | custom internal name Wizlink will use to identify the application window |
Display Name | Literal | Input | changes display name of the activity |
Exclude from Transaction Check | Boolean | Input | checkbox; default is "off" |
Offset From | Dropdown | Input | select offset start point from the dropdown list |
Result | Boolean | Output | returns a Boolean value. True if no error in activity, otherwise will return False |
Result Code | Int32 | Output | Result Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info |
Retry Timeout [s] | Double | Input | determines behaviour if the activity fails to execute. value < 0: try executing once, 0: try indefinitely; value >0: time in seconds during which the activity repeatedly tries to execute (if time elapses without success then Result = False, end activity) |
Scroll Amount | Int32 | Input | scroll distance, in pixels |
X Offset | Int32 | Input | horizontal offset |
Y Offset | Int32 | Input | vertical offset |
Last updated: 2023, 15 May