Condition

Learn about various Condition available in the app

Detection
Image Appear

Condition return true when image appear (or not) on the screen.

Available Properties:

  • Image: The image to detect.
  • Appear/Not Appear: Flip the logic.
  • Similarity %: How similar should the current part of the screen compare to the object for a match.
  • Detection Location: Where to find the object.
  • Scaling Algorithm: How to scale on different devices (available when it's custom location).
Image Count

This condition returns true when a certain number of the same image appear on the screen at the same time.

For example, only run action when 3 balloons appear.

Available Properties:

  • Image: The image to detect.
  • Count Condition: Condition apply to the number of objects found.
  • Similarity %: How similar should the current part of the screen compare to the object for a match.
  • Detection Location: Where to find the object.
  • Scaling Algorithm: How to scale on different devices (available when it's custom location).
Text Appear

Condition return true when text appear (or not) on the screen.

OCR is used to parse the text.

Available Properties:

  • Text: The text to detect.
  • Appear/Not Appear: Flip the logic.
  • Similarity %: How similar should the current part of the screen compare to the object for a match.
  • Detection Location: Where to find the object.
  • Scaling Algorithm: How to scale on different devices (available when it's custom location).
Text Count

This condition returns true when the screen contains multiple of the same text.

Note that this condition does NOT parse the text as number and compare the value, what it does is count how many times the text appears in the parsed paragraph.

OCR is used to parse the text.

Available Properties:

  • Text: The text to detect.
  • Count Condition: Condition apply to the number of objects found.
  • Similarity %: How similar should the current part of the screen compare to the object for a match.
  • Detection Location: Where to find the object.
  • Scaling Algorithm: How to scale on different devices (available when it's custom location).
Color Appear

Condition return true when color appear (or not) on the screen.

The color can be searched over a region or at a single point.

Available Properties:

  • Color: The color to detect.
  • Appear/Not Appear: Flip the logic.
  • Color Accuracy: How similar should the current part of the screen compare to the object for a match.
  • Detection Location: Where to find the object.
  • Scaling Algorithm: How to scale on different devices (available when it's custom location).
Macro
Action Result

This condition returns true when another action success (or fail).

You can use this to chain actions together or as a way to copy another action's conditions.

Action's result tied to Job state. Restart a job will reset these values.

Available Properties:

  • Action: The action to check result.
  • Success/Fail: Flip the logic.
Action Count

This condition returns true base on how many times an action success (or fail).

For example, run action when another action has run successfully 5 times.

Action's result tied to Job state. Restart a job will reset these values.

Available Properties:

  • Action: The action to count the result.
  • Success/Fail: Flip the logic.
  • Count Condition: Condition apply to the results.
Random True

This condition returns true randomly.

Available Properties:

  • Random Percent: Control the randomness. 0% = always false, 100% = always true
Once True

This condition returns true once.

It can be once per macro (macro scope) or once every time a job start (job scope).

Available Properties:

  • Macro Scope/Job Scope: Macro Scope: Once for the entirety of macro run time. Job Scope: Once every time a job start as new or restarted.
Variable
Variable Condition

This condition returns true base on the condition applied to variable's value.

Available Properties:

  • Condition: The condition applied to variable's value. This will depend on the type of the variable.
Time
Interval True

This condition returns true at an interval (every x ms).

You can choose to start the timer when macro starts (macro scope) or job starts (job scope).

Available Properties:

  • Time: The interval.
  • Macro Scope/Job Scope: Macro Scope: Start timer when macro starts. Job Scope: Start timer every time a job start as new or restarted. Pause/Resume timer every time the job is paused (due to run another job) or resume.

© 2024 - Macrorify by KoK-CODE