Trigger: Screenshot Content

Revision as of 10:23, 9 January 2026 by MacroDroidDev (talk | contribs) (Created page with "<pre class="header-style">This trigger fires when specified text appears on screen or disappears, using OCR on screenshots. It is less efficient and less reliable than the Scr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This trigger fires when specified text appears on screen or disappears, using OCR on screenshots. It is less efficient and less reliable than the Screen content trigger and should be used when that trigger does not work (for example in games or where apps block standard screen reading).

Options

  • Text to Match - The text to detect in screenshots
  • On Screen / Off Screen - Trigger when the text appears or disappears
  • Enable Regex - Use regular expressions for complex patterns
  • Ignore Case - Case-insensitive matching (default on)
  • Select Applications - Limit detection to specific apps
  • Save Results to Array - Store OCR results in an array variable

Examples

Example 1: Detect "Game Over" text

Triggers

Screenshot Content (On Screen): "Game Over"
Actions

Display Notification: "Game Over detected"
Speak Text: "Game over"

Example 2: Detect when loading text disappears

Triggers

Vibrate: Long Buzz
Actions

Display Notification: "Loading complete"

Notes

  • Secure apps that block screenshots will prevent this trigger from working

See Also