Man illustrationFlower illustration

Docy

Match image

Estimated reading: 3 minutes 117 views

Match image activity is used for finding coordinates of specified image in screen.


*File nameFile name with path.
*Base64Base64 string of image file.
X-coordinateIf it is desired to limit the image to be searched on the screen within a certain area; this field must be filled in, along with the Y-coordinate, Height, and Width fields.
Y-coordinateIf it is desired to limit the image to be searched on the screen within a certain area; this field must be filled in, along with the X-coordinate, Height, and Width fields.
WidthIf it is desired to limit the image to be searched on the screen within a certain area; this field must be filled in, along with the X-coordinate, Y-coordinate and Height fields.
HeightIf it is desired to limit the image to be searched on the screen within a certain area; This field must be filled in, along with the X-coordinate, Y-coordinate and Width fields.
Retry countThe number of tries until the image is found, could be any numeric value.
*Return x-positionFinal x-position, variable name defined to assign the x-coordinate found.
*Return y-positionFinal y-position, variable name defined to assign the y-coordinate found.
Note: * Fields selected with are required, others are optional.

You can use the File name as shown in the example.

C:\Temp\test.jpg

This field must be left blank if the process is done with Base64 field.

You can use the Base64 as shown in the example.

iVBORw0KGgoAAAANSUhEUgAAAGYAAAAsCAYAAACXHM1oAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAE

This field must be left blank if the process is done with File name field.

You can use the X-coordinate as shown in the example.

700

If you want to limit the specified image in a certain area in screen, this field must be filled along with Y-coordinate, height and width.

You can use the Y-coordinate as shown in the example.

400

If you want to limit the specified image in a certain area in screen, this field must be filled along with X-coordinate, height and width.

You can use the Width as shown in the example.

100

If you want to limit the specified image in a certain area in screen, this field must be filled along with X-coordinate, Y-coordinate, and height.

You can use the Height as shown in the example.

50

If you want to limit the specified image in a certain area in screen, this field must be filled along with X-coordinate, Y-coordinate, and width.

You can use the Retry count as shown in the example.

3

You can use the Return x-position as shown in the example.

xPositionValue

You can use the Return x-position as shown in the example.

yPositionValue

You can use Return x-position and Return y-position variables in Mouse activity in Keyboard & Mouse Operations.

Image can be converted to Base64 in different sites.

The coordinates of file whose path is specified in File name field are found on screen and returned to xPositionValue and yPositionValue variables. Using these returned variables in Mouse activity, the process of clicking on these coordinates can be done.

The values for Height and Width must be an integer.

CONTENTS