Difference between revisions of "Trigger: UI Click"
m (→Example) |
(→About) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
This trigger may not work in all cases as some screens/apps may have custom implementations that block click and/or long click detection. | This trigger may not work in all cases as some screens/apps may have custom implementations that block click and/or long click detection. | ||
</pre> | </pre> | ||
+ | * ''When this trigger is present, you can use more [...]'' ''[https://macrodroidforum.com/wiki/index.php/Magic_text#UI_click magic text]'' | ||
==<p><b>Available configuration</b></p>== | ==<p><b>Available configuration</b></p>== | ||
Line 13: | Line 14: | ||
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | ||
You can use 'All applications' but it is more recommended to select only the applications where you want to monitor, it could be 1 or more selected applications. | You can use 'All applications' but it is more recommended to select only the applications where you want to monitor, it could be 1 or more selected applications. | ||
− | </pre | + | </pre> |
=== Click | Long click === | === Click | Long click === | ||
Line 19: | Line 20: | ||
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | ||
You can filter only by a simple click or a long click. | You can filter only by a simple click or a long click. | ||
− | </pre | + | </pre> |
=== Text to match === | === Text to match === | ||
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | ||
You can filter only by a simple click or a long click. | You can filter only by a simple click or a long click. | ||
− | </pre | + | </pre> |
==<p><b>Regular expression/Wildcards</b></p>== | ==<p><b>Regular expression/Wildcards</b></p>== | ||
Line 31: | Line 32: | ||
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | <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 | + | </pre> |
=== Wildcards === | === Wildcards === | ||
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | ||
Line 48: | Line 49: | ||
abc | abc | ||
abC | abC | ||
− | </pre | + | </pre> |
Latest revision as of 17:21, 29 January 2024
About
This trigger will fire when a click on specific textual content is detected within a chosen app. Note: This trigger may not work in all cases as some screens/apps may have custom implementations that block click and/or long click detection.
- When this trigger is present, you can use more [...] magic text
Available configuration
All applications
You can use 'All applications' but it is more recommended to select only the applications where you want to monitor, it could be 1 or more selected applications.
Click | Long click
You can filter only by a simple click or a long click.
Text to match
You can filter only by a simple click or a long click.
Regular expression/Wildcards
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.
Wildcards
The referenced text field or variable supports the use of wildcards, you can use wildcards to specify values that match a variety of inputs. * Represents zero or more occurrences of the preceding character or group. ? Represents zero or one occurrence of the preceding character or group. For example, the regular expression ab*c will match: abc abbc abbc abbbbc The regular expression ab?c will match: abc abC