Difference between revisions of "Trigger: Clipboard Change"

 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
===<p><b>About</b></p>===
+
<pre class="header-style">
 
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
 
This trigger will fire when the value stored in the clipboard is updated.
 
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.
 
 
</pre>
 
</pre>
  
==<p><b>Supported configurations</b></p>==
+
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'''
  
=== Relgular expression matching ===
+
* Regular 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>
 

Latest revision as of 09:31, 11 June 2024

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.

Configuration Options

  • 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.