Difference between revisions of "Triggers"
Line 1: | Line 1: | ||
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. | 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 in this case because in MacroDroid a trigger is an instantaneous event therefore it is not possible (or highly improbable) to get a state where two instantaneous events happen at 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. | ||
== List of Triggers == | == List of Triggers == |
Revision as of 16:23, 4 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 in this case because in MacroDroid a trigger is an instantaneous event therefore it is not possible (or highly improbable) to get a state where two instantaneous events happen at 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.