User Tools

Site Tools


manual:Editor_Window

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:Editor_Window [2019/06/21 01:39]
peternlewis
manual:Editor_Window [2019/06/21 01:44]
peternlewis
Line 50: Line 50:
 You can adjust the name of the Macro (1), and whether it is enabled (2) (a macro must be enabled for it to be available to be triggered (executed) - its parent macro group must also be enabled and active). You can adjust the name of the Macro (1), and whether it is enabled (2) (a macro must be enabled for it to be available to be triggered (executed) - its parent macro group must also be enabled and active).
  
-A macro consists of a set of triggers (3).  When it is active, if any of these [[Macro_Triggers|triggers]] happen, then the macro executes the [[Macro_Actions|actions]] (4).+A macro consists of a set of triggers (3).  When it is active, if any of these [[Macro_Triggers|triggers]] happen, then the macro executes the [[Macro_Actions|actions]] (5).
  
-You can add a trigger by clicking and holding on the green BUTTON{{{+}}} button and selecting the kind of trigger you would like to use.  ​+You can add a trigger by clicking and holding on the green BUTTON{{{+}}} button ​(4) and selecting the kind of trigger you would like to use.  ​
  
 Some triggers, like the [[trigger:​Status_Menu|Status Menu]] trigger, do not have any additional configuration. ​ Simply adding them to the macro will have macro triggered when the event happens (in this case, the macro will be listed in the Keyboard Maestro status menu, and will be triggered if you choose it from that menu). Some triggers, like the [[trigger:​Status_Menu|Status Menu]] trigger, do not have any additional configuration. ​ Simply adding them to the macro will have macro triggered when the event happens (in this case, the macro will be listed in the Keyboard Maestro status menu, and will be triggered if you choose it from that menu).
Line 58: Line 58:
 Other triggers, like the [[trigger:​Typed_String|Typed String]] trigger, require you to configure more details about when the trigger should happen, such as the specific string you have to type to trigger the macro. ​ For the macro shown, the macro will be triggered when you type the string “=-=”. Other triggers, like the [[trigger:​Typed_String|Typed String]] trigger, require you to configure more details about when the trigger should happen, such as the specific string you have to type to trigger the macro. ​ For the macro shown, the macro will be triggered when you type the string “=-=”.
  
-When a macro is triggered, it will execute the actions you have specified (4).  You can add an action by clicking ​on the green BUTTON{{{+}}} button+When a macro is triggered, it will execute the actions you have specified (5). 
 + 
 +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 (6) 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]]. 
 + 
 +In the displayed macro, the action uses the [[token:​SystemClipboard|%SystemClipboard%]] token to read the system clipboard, and will then insert it by typing (rather than the normal pasting for the System Clipboard). ​ This can be useful for cases where you are disallowed from pasting for some reason. 
 + 
manual/Editor_Window.txt · Last modified: 2023/09/27 04:56 by peternlewis