Trigger: UI Click
This trigger will fire when a click on specific textual content is detected within a chosen app. It allows you to automate actions based on user interactions with on-screen elements in any application.
Options
- Text to Match: The text content to look for when a click occurs (supports Magic Text)
- Application Selection: Choose specific apps to monitor, or select all applications
- Click Type:
- Click: Trigger on standard (short) clicks
- Long Click: Trigger on long press/click actions
- Enable Regex: When enabled, the text pattern is treated as a regular expression
- Ignore Case: When enabled (and regex is disabled), matching is case-insensitive
- Use Content Description: Include accessibility content descriptions when matching text
Wildcard Patterns
If regex is not enabled, you can use wildcards:
- * - Matches zero or more characters (e.g., "Save*" matches "Save", "Save File", "Save As...")
- ? - Matches zero or one character (e.g., "Option?" matches "Option" or "Options")
Configuration
1. Enter the text to match for the clicked element 2. Select specific applications to monitor, or choose "All Applications" (selecting specific apps is recommended for better performance) 3. Choose the click type (standard click or long click) 4. Optionally enable regex for advanced pattern matching 5. Configure case sensitivity as needed
Examples
Triggers UI Click [Submit: MyBankingApp]
Actions Vibrate: 100ms Log Entry: Form submitted at [time]
Provide haptic feedback and log when the Submit button is clicked in a banking app.
Triggers UI Click [Delete*: Gmail (Long Click)]
Actions
Confirm Dialog: Are you sure you want to delete?
If Cancel: Cancel Actions
Add confirmation dialog when long-clicking any delete button in Gmail.
Notes
- This trigger requires the UI Interaction Accessibility Service to be enabled.
- Not all apps support click detection - some apps use custom implementations that block click and/or long click detection.
- Selecting specific applications instead of "All Applications" improves performance and reduces battery consumption.
- The trigger monitors the accessibility service for click events, so it works without modifying the target applications.
- Content description text from accessibility labels can also be matched when the option is enabled.
- Magic text variables are available when this trigger fires.
- Non-launchable apps can be included when selecting applications by enabling the checkbox.
See Also