Action group: Windows
The action checks element parameters and returns values: true or false.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Element | Resource with data of selected element in application | Robin.WinElement | Yes | |
Time-out | Time in milliseconds to find required element. | Robin.Numeric | No | |
Window order | When found more than one window, action would interact with window defined by order | Robin.Numeric | No | |
Results | ||||
Result | Checkbox value. | Robin.Boolean | true |
None.
There is an open Notepad++ parameters settings window. Get "Transparency" checkbox value. Display the result true/false in the dialogue window.
Use the "Get checkbox value", "Show message" actions.
Assemble a robot scheme with the actions.
Set the "Get checkbox value" action parameters. Get the element using the WinSpy tool. Find more on how to work with WinSpy in section Get Win-element.
Set the "Show message" action parameters. In the "Message text" field specify the "Get checkbox value" action result. This way the robot will display a message with the result of the checkbox value (true or false).
Click "Start" in the top panel to start the robot.
The program robot completed successfully.
The checkbox is checked. The value "true" is displayed in the dialogue box.