User Tools

Site Tools


manual:Macro_Groups

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 Both sides next revision
manual:Macro_Groups [2017/08/23 02:55]
peternlewis
manual:Macro_Groups [2017/08/23 04:41]
peternlewis
Line 67: Line 67:
  
 With the previous three settings, the macros are active if and only if the palette is displayed. ​ The final three options are the same except that the macros are always active, so they are always available to be triggered by another means, and sometimes by the palette. With the previous three settings, the macros are active if and only if the palette is displayed. ​ The final three options are the same except that the macros are always active, so they are always available to be triggered by another means, and sometimes by the palette.
 +
 +You can change the targeting of an existing group by selecting it in the Groups list and ensuring you are in Edit mode by clicking the BUTTON{{{Edit}}} button, or by double clicking the macro group.
  
 You can disable or enable a macro group by selecting it and clicking the BUTTON{{{✓}}} button at the bottom of the Groups list.  If a Macro~~Group is disabled or inactive for any reason, all its contained Macros will be inactive. ​ You can disable or enable a Macro Group using the Set Macro Enable action, you can show in a palette or activate a Macro Group using the Show Macro Group or Activate Macro Group actions. You can disable or enable a macro group by selecting it and clicking the BUTTON{{{✓}}} button at the bottom of the Groups list.  If a Macro~~Group is disabled or inactive for any reason, all its contained Macros will be inactive. ​ You can disable or enable a Macro Group using the Set Macro Enable action, you can show in a palette or activate a Macro Group using the Show Macro Group or Activate Macro Group actions.
  
-You can change the targeting of an existing group by selecting it in the Groups ​list and ensuring you are in Edit mode by clicking the BUTTON{{{Edit}}} button, or by double clicking ​the macro group.+Disabled Macro Groups ​can optionally be hidden using the choosing [[Menus#​View_Hide_Disabled_Macro_Groups|Hide Disabled Macro Groups]] from the [[Menus#​View|View menu]]
  
 You can disable a Macro Group from AppleScript with: You can disable a Macro Group from AppleScript with:
Line 76: Line 78:
 <code applescript>​ <code applescript>​
 tell application "​Keyboard Maestro"​ tell application "​Keyboard Maestro"​
-  setMacroEnable ​"Macro Group Name or UID" ​with/without enable+   set enabled of macro group "Macro Group Name" ​to true/false
 end tell end tell
 </​code>​ </​code>​
Line 92: Line 94:
 <code applescript>​ <code applescript>​
 tell application "​Keyboard Maestro"​ tell application "​Keyboard Maestro"​
-  selectedMacros+   ​selection
 end tell end tell
 </​code>​ </​code>​
 +
 +The Keyboard Maestro editor has full AppleScript support you can manipulate macro groups in many ways via AppleScript.
  
 To delete a Macro~~Group,​ select the macro group and then press Command-Delete or click the BUTTON{{{-}}} button at the bottom of the Groups list. To delete a Macro~~Group,​ select the macro group and then press Command-Delete or click the BUTTON{{{-}}} button at the bottom of the Groups list.
  
 You cannot delete or rename or disable the Global~~Macro~~Group. ​ If you want to control when some of the macros within the Global Macro Group are active, make a new macro group and drag those macros to it. You cannot delete or rename or disable the Global~~Macro~~Group. ​ If you want to control when some of the macros within the Global Macro Group are active, make a new macro group and drag those macros to it.
- 
manual/Macro_Groups.txt · Last modified: 2023/09/28 00:30 by peternlewis