1,427 bytes added
, Friday at 10:23
<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 Screen content trigger and should be used when that trigger does not work (for example in games or where apps block standard screen reading).</pre>
''' 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''
<pre class="trigger-style">Triggers
Screenshot Content (On Screen): "Game Over"</pre>
<pre class="action-style">Actions
Display Notification: "Game Over detected"
Speak Text: "Game over"</pre>
''Example 2: Detect when loading text disappears''
<pre class="trigger-style">Triggers
Vibrate: Long Buzz</pre>
<pre class="action-style">Actions
Display Notification: "Loading complete"</pre>
''' Notes '''
* Secure apps that block screenshots will prevent this trigger from working
''' See Also '''
* [[Trigger: Screen content|Screen content Trigger]]
* [[Action: Check Text In Screenshot|Check Text In Screenshot Action]]