User Tools

Site Tools


manual:Macros

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
Next revision Both sides next revision
manual:Macros [2019/06/18 00:48]
peternlewis
manual:Macros [2019/06/25 00:06]
peternlewis
Line 27: Line 27:
 You can create a new trigger by clicking on the green BUTTON{{{⊕}}} button. ​ There are several [[Macro Triggers]] to choose from, the most common being the [[trigger:​Hot_Key|Hot Key trigger]] which allows you to execute the Macro at the press of a key.  You can define several different triggers, and any of the triggers will execute the Macro~~Actions. ​ You can delete a trigger by clicking the red BUTTON{{{⊖}}} button. You can create a new trigger by clicking on the green BUTTON{{{⊕}}} button. ​ There are several [[Macro Triggers]] to choose from, the most common being the [[trigger:​Hot_Key|Hot Key trigger]] which allows you to execute the Macro at the press of a key.  You can define several different triggers, and any of the triggers will execute the Macro~~Actions. ​ You can delete a trigger by clicking the red BUTTON{{{⊖}}} button.
  
-You can add a new action by clicking the BUTTON{{{New Action}}} button or the BUTTON{{{+}}} button at the bottom of the macro detail view to display the list of actions or by choosing the [[Menus#Edit_Insert_Action_by_Name|Edit ➤ Insert Action By Name menu]] or choosing from the [[Menus#Edit_Insert_Action|Edit ➤ Insert Action menu]]. ​ There are many [[Macro Actions]] to choose from.  The actions you include will be executed in order. ​ You can reorder the actions by dragging them around. ​ You can copy actions by Option-Dragging or by using Copy and Paste. ​ You can delete an action by selecting it and  pressing the Delete key.  You can enable or disable actions by selecting them and clicking the BUTTON{{{✓}}} button at the bottom of the macro detail view.+You can add a new action by clicking the BUTTON{{{New Action}}} button or the BUTTON{{{+}}} button at the bottom of the macro detail view to display the list of actions or by choosing the [[Menus#Insert_Action_by_Name|Edit ➤ Insert Action By Name menu]] or choosing from the [[Menus#Insert_Action|Edit ➤ Insert Action menu]]. ​ There are many [[Macro Actions]] to choose from.  The actions you include will be executed in order. ​ You can reorder the actions by dragging them around. ​ You can copy actions by Option-Dragging or by using Copy and Paste. ​ You can delete an action by selecting it and  pressing the Delete key.  You can enable or disable actions by selecting them and clicking the BUTTON{{{✓}}} button at the bottom of the macro detail view
 + 
 +You can control or right click on a macro group to Disable, Enable, Rename, Duplicate, or Export it.
  
 An easy way to generate macro actions is to turn on recording by clicking the BUTTON{{{Record}}} button at the bottom of the macro detail view and proceeding to show Keyboard~~Maestro what you want to do.  Then turn recording back off and look through the actions. ​ Chances are you will need to delete or adjust some of the recorded actions to make a robust macro, but this will be quicker than creating each action manually. An easy way to generate macro actions is to turn on recording by clicking the BUTTON{{{Record}}} button at the bottom of the macro detail view and proceeding to show Keyboard~~Maestro what you want to do.  Then turn recording back off and look through the actions. ​ Chances are you will need to delete or adjust some of the recorded actions to make a robust macro, but this will be quicker than creating each action manually.
Line 97: Line 99:
 ==== Import Macros Safely ==== ==== Import Macros Safely ====
  
-(!) You should be aware that the macros will be imported in the same state, triggers, and macro group that they were saved in.  By default, macros are imported disabled unless you hold the Option key down.  Importing them disabled is important, because otherwise **this could result in the imported Macro being triggered (executed) as soon as it is imported.** ​ If you are at all uncertain about the source of the macros, ensure you import the macros disabled or choose the [[Menus#File_Import_Macros_Safe|File ➤ Import Macros Safe menu]].+(!) You should be aware that the macros will be imported in the same state, triggers, and macro group that they were saved in.  By default, macros are imported disabled unless you hold the Option key down.  Importing them disabled is important, because otherwise **this could result in the imported Macro being triggered (executed) as soon as it is imported.** ​ If you are at all uncertain about the source of the macros, ensure you import the macros disabled or choose the [[Menus#Import_Macros_Safe|File ➤ Import Macros Safe menu]].
  
 See also the [[Macro Groups]], [[Macro Actions]], [[Macro Triggers]], [[:​Macro_Activation]],​ [[Macro Examples]], [[Macro Library]] and [[Recording]] sections. See also the [[Macro Groups]], [[Macro Actions]], [[Macro Triggers]], [[:​Macro_Activation]],​ [[Macro Examples]], [[Macro Library]] and [[Recording]] sections.
manual/Macros.txt · Last modified: 2023/09/28 02:11 by peternlewis