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.
| + | <span style="color: #B22A2A; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 0px;"><strong>About this trigger</strong></span> |
| | | |
− | When new text is copied, it is saved to clipboard. This trigger will fire when this event occurs.
| + | This trigger will fire when the value stored in the clipboard is updated. |
| | | |
| + | Requires additional configuration on Android 10 and above. This limitation is due to Google blocking clipboard access from background applications since Android 10. |
| | | |
− | The following magic text is available when this trigger fires.
| + | <span style="color: #B22A2A; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 0px;"><strong>Supported configurations</strong></span> |
| | | |
− | [clipboard] - the text in the clipboard.
| + | === Regular expression matching === |
| + | |
| + | 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. |