Introducing the "Image Click" Activity
Tabel of contents
1. Program Name of the Activity
RCA.Activities.Core.ImageClick
2. Description
For Studio version up to 2.0.2.0:
Quick Access: "Toolbox" > "Core" > "Image Click"
For Studio version 2.0.3.0 and later:
Quick Access: "Toolbox" > "Core" > "Image" > "Image Click"
This activity clicks on the specified image.
Confirmed operation on akaBot Studio versions: 2.2.0.5
Please note that wording and details may vary depending on the version.
3. Properties
Property category | Property name | Input field | Description |
Options | Click position | Dropdown selection | Choose the click position on the image from: "Left," "Right," or "Center" |
Hi-Res image search | Checkbox | Search for the image you want to click in high resolution | |
Image Similarity | Input Value (Double Type) | The similarity between the desired image and the found image is calculated as a value between 0 and 1. If the similarity is greater than or equal to the value specified here, the image will be considered the one to click. Default: 0.7 | |
Other | Public | Checkbox | Variables and arguments within the activity are written to the log file and pushed to the Center. (For details, refer to "About the 'Public' Property.") |
Display name | Input value (String Type) | Reflected in the activity name on the designer panel. | |
Input | Offset X | Input value (Int32 Type) | Adjusts the horizontal click position based on the position specified in "Click Position," with 0 as the reference. Positive value: → direction Negative value: ← direction |
Offset Y | Input value (Int32 Type) | Adjusts the vertical click position based on the position specified in "Click Position," with 0 as the reference. Positive value: ↓ direction Negative value: ↑ direction | |
Click Type | Dropdown selection | Select the click type from: "Left Click" "Left Double Click" "Right Click" "Right Double Click" | |
Delay (Milliseconds) | Input Value (Int32 Type) | Delays the execution of the activity for the specified time |
4. Usage
I will explain how to use the 'Image Click' activity with an example of its usage. Drag and drop this activity in akaBot Studio and place it in a sequence.
Click on "Take Screenshot"
The akaBot window will minimize, allowing you to drag and select the screen displayed in the background. Drag the mouse to select the area you want to click.
As shown in the image below, the area you want to click can be captured as an image.
In this step, by running the workflow, you can click on test.txt.
Additionally, by configuring the optional settings, you can fine-tune the click position or perform actions like double-click or right-click.
If you want to save the captured image, click on the right side of the activity (Image 1) and select 'Save Image' from the menu (Image 2) to save it.
The saved image can also be used in other activities (e.g., 'Image Search Judgment').
Image 1
Image 2
In addition, for areas that are difficult to capture using "Take Screenshot", you can specify the click position by using a pre-prepared image through the 'Load Image' option in the menu on the right side of the activity.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article