Get checkbox value Version 11 (Net)

Action group: Windows 


Description

The action checks element parameters and returns values: true or false.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ElementResource with data of selected element in applicationRobin.WinElement
Yes
Time-outTime in milliseconds to find required element.Robin.Numeric
No
Window orderWhen found more than one window, action would interact with window defined by orderRobin.Numeric
No
Results
ResultCheckbox value.Robin.Booleantrue

Special conditions of use

None.

Example of use

Task

There is an open Notepad++ parameters settings window. Get "Transparency" checkbox value. Display the result true/false in the dialogue window.

Solution

Use the "Get checkbox value", "Show message" actions.

Implementation

  1. Assemble a robot scheme with the actions.



  2. 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.



  3. 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).



  4. Click "Start" in the top panel to start the robot.

Result

The program robot completed successfully.

The checkbox is checked. The value "true" is displayed in the dialogue box.


 

 

  • Нет меток