Help Centre › Building Processes
Find an image on screen and click on it.
Add it to a process
In the process designer, open the Add step tab. Find Find an image on screen and click on it under Screen › Interact, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| Variable | Yes | Name of the variable where the result will be stored Default: location. |
| Template image path | Yes | The file path to the reference image |
| Match confidence | No | The minimum match confidence (0-100). Higher values require a closer match Default: 0.9. |
| Match in grey | No | Compare the images in greyscale: faster and not thrown by small colour changes. Turn off when only colour tells two things apart. Default: on. |
| Search region (x,y,w,h) | No | The screen region to search in (x,y,width,height) |
| Number of clicks | No | The number of times to click Default: 1. |
| Mouse button | No | The mouse button to use (left, right, middle) Choices: Left, Right, Middle. Default: left. |
| X offset from center | No | Horizontal offset from the match center in pixels Default: 0. |
| Y offset from center | No | Vertical offset from the match center in pixels Default: 0. |
What it gives back
{location}– Click location
See all Screen steps.
Errors
| Error | Description |
|---|---|
| Image not found on screen | The specified image could not be found on the screen |
| Image file not found | The specified image file path does not exist |
Tips
- Use the offset parameters to click relative to the image center, for example to click a button next to a label
- Set clicks to 2 for a double-click action