Trigger: Shortcut Launched

Revision as of 21:54, 6 January 2026 by MacroDroidDev (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This trigger enables an application shortcut for this macro. The trigger will be invoked whenever the appropriate shortcut is launched. This trigger enables you to invoke actions from other apps/launchers which support launching shortcuts.

Options

This trigger has no configurable options. Adding this trigger to a macro simply marks the macro as being intended for shortcut invocation.

Current Status

It is now possible to select from any macro for an Android shortcut regardless of what triggers are configured, therefore this trigger is not strictly necessary. However, for macros that are only designed to be invoked from Android shortcuts, it still makes sense to use this trigger to make it clear this is the intended use.

Examples

Example 1: Quick settings shortcut

Create a shortcut to toggle WiFi:

Triggers

Shortcut Launched
Actions

WiFi: Toggle

Example 2: Home screen automation shortcut

Create a shortcut for your morning routine:

Triggers

Shortcut Launched
Actions

WiFi: Enable
Bluetooth: Enable
Speak Text: "Good morning"
Launch Application: News App

Example 3: Quick note shortcut

Create a shortcut to quickly create a note:

Triggers

Shortcut Launched
Actions

Input Dialog: "Enter note"
Set Variable: [note_text] = [user_input]
Write to file: [note_text]

Creating Shortcuts

To create a shortcut for a macro with this trigger:

  1. Long-press on your home screen
  2. Select Widgets or Shortcuts (varies by launcher)
  3. Find and select MacroDroid
  4. Choose "Macro Shortcut"
  5. Select the macro you want to create a shortcut for

Alternatively, from within MacroDroid:

  1. Open the macro
  2. Tap the three-dot menu
  3. Select "Create Shortcut"

Notes

  • While this trigger is no longer technically required (any macro can be invoked via shortcut), it serves as useful documentation to indicate the macro's intended purpose
  • The trigger does not perform any actual trigger registration - it simply acts as a marker
  • Shortcuts created for macros will appear in your launcher with the MacroDroid icon unless you customize it
  • Some launchers may have specific requirements or limitations for shortcut support
  • This trigger is equivalent to the Empty Trigger when it comes to actual functionality

See Also