Changes

no edit summary
Line 1: Line 1: −
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
+
<pre class="header-style">
This trigger will never fire of its own accord. Its main use is for macros that are designed to be invoked from other macros using the [[Action: Macro run|Macro run]] action.</pre>
+
This trigger will never fire of its own accord. It can be used for a macro that you want to invoke only with the "Run Macro" action. It may also be used when still developing a macro as a placeholder for future trigger(s).
<br>
+
</pre>
'''Example Usage'''<br/>
     −
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
+
''' Options '''
Triggers
      +
This trigger has no configurable options.
   −
</pre><br>
+
''' Use Cases '''
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
  −
Actions
      +
The Empty Trigger is useful for:
 +
* Creating utility macros that should only run when called by other macros via the "Run Macro" action
 +
* Building reusable action sequences that can be invoked from multiple places (Action Blocks are now preferred for this)
 +
* Macros that should never run automatically but only on demand
 +
* A placeholder trigger while a macro is in development
   −
</pre><br>
+
''' Examples '''
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
  −
Constraints
      +
Example 1: Common settings toggle
   −
</pre><br>
+
  <pre class="trigger-style">Triggers
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
  −
Local variables
      +
Empty Trigger</pre>
 +
  <pre class="action-style">Actions
   −
</pre><br>
+
Toggle WiFi
 +
Toggle Bluetooth
 +
Toggle Mobile Data</pre>
 +
 
 +
''' Notes '''
 +
 
 +
* A macro with only an Empty Trigger will never run automatically.
 +
* To invoke such a macro, use the "Run Macro" action from another macro, or use the MacroDroid Shortcut widget.
 +
* Empty Trigger macros can also be invoked via the MacroDroid Webhook API or HTTP Request Trigger in another macro.