Changes

no edit summary
Line 1: Line 1: −
Popup Message trigger
+
<pre class="header-style">The Popup Message trigger fires when a popup message (Toast) is displayed on the device. Toast messages are the small, temporary popup notifications that appear at the bottom of the screen and automatically disappear after a few seconds. This trigger allows you to react to these system and app notifications.</pre>
 +
 
 +
''' Options '''
 +
 
 +
''' Text Matching '''
 +
 
 +
* '''Text to Match''' - Enter the text that must appear in the popup message for the trigger to fire
 +
 
 +
''' Application Filter '''
 +
 
 +
* '''All Applications''' - React to popup messages from any app
 +
* '''Select Applications''' - Only react to popup messages from specific selected apps
 +
 
 +
''' Matching Options '''
 +
 
 +
* '''Enable regular expression matching''' - Use regex syntax for pattern matching
 +
* '''Ignore case''' - Perform case-insensitive matching (disabled when regex is enabled)
 +
 
 +
''' Examples '''
 +
 
 +
''Example 1: Log when Wi-Fi is connected''
 +
 
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Popup Message: "Connected to" (All Applications)</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
System Log: Wi-Fi connection detected via toast</pre>
 +
 
 +
''Example 2: React to specific app notifications''
 +
 
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Popup Message: "Download complete" (Browser app)</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Vibrate: Short buzz
 +
Notification: Your download is ready</pre>
 +
 
 +
''' Requirements '''
 +
 
 +
* This trigger requires Accessibility Service to be enabled for MacroDroid
 +
 
 +
''' Notes '''
 +
 
 +
* Toast messages are different from standard notifications - they are brief popup messages that appear temporarily on screen
 +
* Not all apps use Toast messages; some use custom popups that may not be detected
 +
* This trigger captures the text content of Toast messages as they appear
 +
* Magic text can be used in the text matching field
 +
* If no applications are selected, the trigger will monitor all apps
 +
* The accessibility service must be enabled and running for this trigger to work
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: Notification]]
 +
* [[Action: Popup Message]]
 +
* [[Trigger: Screen content]]