Skip to content

IF image exists

Function Description

TIP

Determine if the target image exists

IF image exists

Configuration Item Description

General

Command Input

  • Search rangeInteger: You can choose the entire screen or a specified window

  • Window objectTWinObj: Select a window object

  • Condition for judgmentInteger: Specify if the target image exists or does not exist within the selected search range

  • Target imagestring: You can choose multiple images from the image library

  • Execute after all images exist (or do not exist)Boolean: Detect all images or detect one of the images

Command Output

No output for the current command

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None