Difference between revisions of "Triggers"
Line 127: | Line 127: | ||
[[Regular Interval]] | [[Regular Interval]] | ||
− | [[Roaming Started/Stopped]] | + | [[Trigger: Roaming Started/Stopped|Roaming Started/Stopped]] |
− | [[Screen On/Off]] | + | [[Trigger: Screen On/Off|Screen On/Off]] |
− | [[Screen Orientation]] | + | [[Trigger: Screen Orientation|Screen Orientation]] |
− | [[Screen Unlocked]] | + | [[Trigger: Screen Unlocked|Screen Unlocked]] |
− | [[Shake Device]] | + | [[Trigger: Shake Device|Shake Device]] |
[[Trigger: Shortcut Launched]] | [[Trigger: Shortcut Launched]] |
Revision as of 13:28, 5 February 2021
A trigger is an instantaneous event that your device can detect to make a macro run. A macro must have at least one trigger to be valid.
It is possible to add multiple triggers to a single macro and in this case any single trigger firing will cause the macro to be invoked. It is not possible to combine triggers with AND logic because in MacroDroid a trigger is an instantaneous event, so it is not possible (or highly improbable) to get a state where two instantaneous events happen at exactly the same time.
As an alternative to combining triggers with an AND statement it is generally possible to add constraint logic to individual triggers such that they can be limited to run when only some other state is also true.