Line 1: |
Line 1: |
− | This trigger is not available on Android 10 and above. This limitation is due to Google blocking access to the clipboard from background apps since Android 10. | + | <pre class="header-style"> |
| + | This trigger will fire when the value stored in the clipboard is updated. |
| + | </pre> |
| | | |
− | When new text is copied, it is saved to clipboard. This trigger will fire when this event occurs.
| + | Requires additional configuration on Android 10 and above. This limitation is due to Google blocking clipboard access from background applications since Android 10. |
| | | |
| + | '''Configuration Options''' |
| | | |
− | The following magic text is available when this trigger fires.
| + | * Regular expression matching |
| | | |
− | [clipboard] - the text in the clipboard.
| + | Regular expression matching (or regex matching) is a technique for finding patterns within text using a specialized syntax known as regular expressions. It's a powerful tool for text processing and pattern recognition. |
| + | |
| + | * Case insensitive |
| + | |
| + | It will ignore the use of upper and lower case in title and detail. |
| + | |
| + | * Use logcat (ADB Hack) |
| + | |
| + | Standard clipboard access is not possible on Android 10+ unless you have a rooted device with appropriate Magisk modules. As a workaround MacroDroid can monitor the device's logcat output to try and detect when new content appears in the clipboard. |