User Tools

Site Tools


condition:Macro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
condition:Macro [2016/03/07 16:55]
AlainLifchitz more internal links
condition:Macro [2023/09/18 03:46] (current)
peternlewis [Definitions]
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 12: Line 20:
 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).
  
-===== See Also =====+For the purposes of determining if the macro is executing, the macro’s UUID is used, so renaming it or otherwise editing it will not change whether it is executing. The macro could be executed executed by any means (such as a trigger, AppleScript,​ or the [[action:​Execute_a_Macro|Execute a Macro]] or [[action:​Execute_a_Subroutine|Execute a Subroutine]] actions).
  
-----+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 === === Actions ===
  
 * [[action:If Then Else|If Then Else]] * [[action:If Then Else|If Then Else]]
-* [[action:Pause|Pause Until Conditions Met]]+* [[action:Pause_Until|Pause Until Conditions Met]]
 * [[action:​Until|Execute Action Until Conditions Met]] * [[action:​Until|Execute Action Until Conditions Met]]
 * [[:​Actions|See all Actions]] * [[:​Actions|See all Actions]]
Line 27: Line 43:
 * [[:​Conditions|See all 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]]
condition/Macro.1457387746.txt.gz · Last modified: 2016/03/07 16:55 by AlainLifchitz