Difference between revisions of "Trigger: Clipboard Change"

 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<span style="color: #B22A2A; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 0px;"><strong>About this trigger</strong></span>
+
<pre class="header-style">
 
 
 
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.
 +
</pre>
  
 
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>==
+
'''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.