Difference between revisions of "Trigger: Clipboard Change"

Line 5: Line 5:
 
Requires additional configuration on Android 10 and above. This limitation is due to Google blocking clipboard access from background applications since Android 10.
 
Requires additional configuration on Android 10 and above. This limitation is due to Google blocking clipboard access from background applications since Android 10.
  
==<p><b>Supported configurations</b></p>==
+
<span style="color: #B22A2A; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 0px;"><strong>Supported configurations</strong></span>
  
 +
=== Regular expression matching ===
  
=== Relgular expression matching ===
 
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
 
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.
 
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.
</pre>
 
  
 
=== Case insensitive ===
 
=== Case insensitive ===
  
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
 
It will ignore the use of upper and lower case in title and detail.
 
It will ignore the use of upper and lower case in title and detail.
</pre>
 
  
 
=== Use logcat (ADB Hack)===
 
=== Use logcat (ADB Hack)===
  
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
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.
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 devices logcat output to try and detect when new content appears in the clipboard.
 
</pre>
 

Revision as of 17:58, 23 April 2024

About this trigger

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.

Supported configurations

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.