If Image


Conditionally plays a set of steps based on the result of searching the specified image.

Parameters

  • Image file name Specifies the path name of the image files. When more than one file is used, only first file should be full-path name if all files are in a folder. Every file must be separated by the semicolon (;) from each other. For example: f:\2.bmp;3.bmp;4.bmp.

  • Tolerance Specifies the value (0 - 10) for how much the image searched for can differ from the specified image.

  • Color of transparent pixels Specifies the color of transparent pixels. Transparent pixels will be ignored during searching.

  • Convert image to shape for searching Specifies whether to use shape searching mode. The shape searching mode converts the color image to the binary before searching for the image. It improves search result in case where the color changes.

  • Search area Specifies the area of searching for.

  • Matched Image If the image is found on the screen, return the X and Y coordinate.

    • Populate variable with X Specifies a variable to store the coordinate X.

    • Populate variable with Y Specifies a variable to store the coordinate Y.