Variables

Variables store values that actions and rules can use.

Types

  • Boolean: true or false.
  • Number: counters, amounts, attempts, cycles.
  • Text: saved OCR text, modes, labels, or typed text.

Counter example

  1. Create a number variable called attempts.
  2. Add a Variable action: add 1 to attempts.
  3. Add an Action Rule: only run this action when attempts is greater than 5.

OCR example

  1. Add Read Text action.
  2. Save detected text to lastText.
  3. Use Type Text with {lastText} to type the saved value.