Difference between revisions of "Trigger: Empty Trigger"
(Created page with "This trigger will never fire of its own accord. It's main use is for in macros that are designed to be invoked from other macros using the run macro action.") |
|||
| (11 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | This trigger will never fire of its own accord. It' | + | <pre class="header-style"> |
| + | 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). | ||
| + | </pre> | ||
| + | |||
| + | ''' Options ''' | ||
| + | |||
| + | This trigger has no configurable options. | ||
| + | |||
| + | ''' Use Cases ''' | ||
| + | |||
| + | 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 | ||
| + | |||
| + | ''' Examples ''' | ||
| + | |||
| + | Example 1: Common settings toggle | ||
| + | |||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Empty Trigger</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | 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. | ||
Latest revision as of 22:52, 5 January 2026
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).
Options
This trigger has no configurable options.
Use Cases
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
Examples
Example 1: Common settings toggle
Triggers Empty Trigger
Actions Toggle WiFi Toggle Bluetooth Toggle Mobile Data
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.