Searches the screen for the specified image, and saves the result to the specified variables.
The image to search for, is easiest to create by using the Investigator, and right click + drag the region of the screen dump, you wish to create an image of.
In the screen dump below, I have marked the BE Bot, ready to be saved as a png image, which you can then select in the criteria by selecting the Browse icon.
Attachment:
regionOfImage.png [ 55.74 KiB | Viewed 2711 times ]
Note:When specifying Percent: "100" the image has to match exactly the one specified, including all pixels / colors and orientation.
When specifying a Percent of "99" or less, Blue Eye will ignore the orientation of the image, and solely base its criteria for a match on the colors found inside the image to be located in a "similar" way on the screen.
Hint:If you use image recognition to recognize a written text or similar detailed targets, you should always specify "100" for accuracy, or instead use the "Pixel pattern" functions.
Usage:Code:
begin
Image.Find location of first occurrence on screen("c:\imageToFind.png", "100", "variableForX", "variableForY")
end