Click on Image from Screen#

This block allows you to save an image of a section of the screen during the Robot's development and record the click coordinates relative to this image. Then, during the script execution, the Robot will find a similar section of the screen (even if it is in a different location on the screen) and will click at the point with the previously filled coordinates relative to the top left corner of the image.

Selector[Selector] Interactive selection of a screen area.
Action

Select action:

  • left click,
  • double click,
  • right click,
  • hover cursor.
ImageIdentifier of the desired image. The image itself is saved in the project's Images folder and is included in the Robot file upon publication.
Click Coordinate X[Number] Horizontal offset of the click coordinate relative to the top left corner of the found image on the screen.
Click Coordinate Y[Number] Vertical offset of the click coordinate relative to the top left corner of the found image on the screen.
Image Number[Number] Sequential number of the found image. Numbering starts from zero.
Comparison TypeSelection of the image comparison type.
Match Threshold[Number] Match threshold. The value is set in percentage from 0 to 100.
Simulate MovementWhen enabled, the mouse cursor movement will be simulated from the current position to the calculated point of the block.
Wait Time[Number] Maximum wait time for the image to appear in seconds.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during execution. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block.