Constraint: Trigger Fired

Revision as of 14:04, 9 January 2026 by MacroDroidDev (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This constraint allows or prevents a macro/feature from running based on which trigger fired the macro.

Options

  • Trigger - Select the trigger to match

Example

Example 1: When YouTube is launched force landscape mode and cancel when YouTube is closed

Triggers

Application Launched (YouTube)
Application Closed (YouTube)
Actions

If (Trigger Fired Application Launched)
  Force Screen Rotation (Force Landscape)
ELSE
  Force Screen Rotation (Cancel Force Mode)
ENDIF