This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
condition:Macro [2015/07/14 04:38] peternlewis created |
condition:Macro [2023/09/18 03:43] peternlewis [Condition Values] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The //Macro condition// or //Macro Group condition// determines if a specified macro or macro group is: | + | ====== Macro or Macro Group Condition ====== |
+ | |||
+ | ===== Condition Values ===== | ||
+ | |||
+ | The //[[condition:Macro|Macro or Macro Group]]// [[:Conditions|Condition]] determines if a specified macro or macro group is: | ||
* enabled | * enabled | ||
Line 5: | Line 9: | ||
* active | * active | ||
* inactive | * inactive | ||
+ | * is executing (v11.0+) | ||
+ | * is not executing (v11.0+) | ||
+ | |||
+ | ===== Definitions ===== | ||
For a macro group to be active, it must be enabled, and the requirements of the macro group configuration must be met. Macro Groups can also be activated and deactivated manually. | For a macro group to be active, it must be enabled, and the requirements of the macro group configuration must be met. Macro Groups can also be activated and deactivated manually. | ||
Line 10: | Line 18: | ||
For a macro to be active, it must be enabled, and the containing macro group must be enabled and active. | For a macro to be active, it must be enabled, and the containing macro group must be enabled and active. | ||
- | A macro can be enabled even if the containing macro group is disabled (though that macro will never be active in that case). | + | A macro can be enabled even if the containing macro group is disabled (though that macro will never be active in that case). |
+ | |||
+ | For more info, see [[:Macro_Activation|Macro Activation]] | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | Using the _Macro Condition_ in the [[action:If_Then_Else|If/Then/Else]] Action: | ||
+ | |||
+ | {{:condition:km-7.1-macro-contition.png?nolink|}} | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | === Actions === | ||
+ | |||
+ | * [[action:If Then Else|If Then Else]] | ||
+ | * [[action:Pause_Until|Pause Until Conditions Met]] | ||
+ | * [[action:Until|Execute Action Until Conditions Met]] | ||
+ | * [[:Actions|See all Actions]] | ||
+ | |||
+ | === Conditions === | ||
+ | |||
+ | * [[:Conditions|See all Conditions]] | ||
+ | |||
+ | === Topics === | ||
+ | |||
+ | * [[:Macro Groups|Macro Groups]] | ||
+ | |||
+ | ==== Forum ==== | ||
+ | |||
+ | - [[https://forum.keyboardmaestro.com/search?q=Macro%20condition|Keyboard Maestro Forum topics about Macro/Group condition]] |