Click control (window)
1. Introduction
Prerequisite component: Get window
This component clicks a specified element in a window of a program running on Windows.
2. Inputs
You can find the help information for each input in the component panel of the ROS Visual Editor.
3. Outputs
You can find the help information for each output in the component panel of the ROS Visual Editor.
4. Component usage example
4.1. Component configuration
For
Window object, select v_win_obj_1. This is the output of the prerequisite Get window component.Use the Capture control feature to capture an element in the window. Name the element "Control 1".
For
Target control, select "Control 1".For
Reference Position, the value is "Relative to the control's centroid".For
Horizontal movement direction, select "To the right".For
Distance to move right (pixels), the default is "0".For
Vertical movement direction, select "Down".For
Distance to move down (pixels), the default is "0".For
Click type, select "Left-click".For
Simulate click, select "No".
4.2. Example Execution Results
The component clicks the center of the specified element in the window.