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 05:00]
peternlewis
manual:Macro_Groups [2017/10/13 22:10]
JMichaelTX MOVE the script to "Scripting KM Editor"
Line 74: Line 74:
 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]] 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: 
  
-<code applescript>​ 
-tell application "​Keyboard Maestro"​ 
-   set enabled of macro group "Macro Group Name" to true/false 
-end tell 
-</​code>​ 
  
-You can start editing a Macro or Macro Group from AppleScript with: +The Keyboard Maestro editor has full AppleScript support so you can manipulate macro groups in many ways via AppleScript. ​ See [[:​Scripting_the_Keyboard_Maestro_editor#​Macro_Groups|Scripting the Keyboard Maestro editor]]
- +
-<code applescript>​ +
-tell application "​Keyboard Maestro"​ +
-  editMacro "Macro Group Name or UID" +
-end tell +
-</​code>​ +
- +
-You can get the list of currently selected macros or macro groups with: +
- +
-<code applescript>​ +
-tell application "​Keyboard Maestro"​ +
-   ​selection +
-end tell +
-</​code>​ +
- +
-The Keyboard Maestro editor has full AppleScript support so 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