Scripts for use while working in Keyboard Maestro.
Although not needed, the shortcut keys I use to execute these via Keyboard Maestro or Alfred are included in case you're interested
-
Add|Remove Status Menu Trigger ⌥S
- Quickly add or remove a status menu trigger, best when mapped to a shortcut key.
-
Collapse All [Pause|Type|Execute|Cancel|Paste|Delete|Menu] Actions ⌥⌃[
- I like to keep these actions collapsed to keep my macros neat:
Type Text
,Pause for
,Execute Macro
,Type the keystroke
,Notification
,Cancel
,Paste from Named Clipboard
,Delete Past Clipboard
,Select Menu Item
,Set Variable
- This script makes this easy by using the script Recursively Get Every Action then collapsing them for me
- Demo:
- I like to keep these actions collapsed to keep my macros neat:
-
Copy Front Macros AppleScript Trigger ⌘⌃C
-
Copies the AppleScript trigger for the front macro without having to show the script snippet, best when mapped to a shortcut key.
-
Result looks like:
# ignoring application responses tell application "Keyboard Maestro Engine" do script "97A494D2-4988-4B66-853F-D72C028197D8" # or: do script "97A494D2-4988-4B66-853F-D72C028197D8" with parameter "Whatever" end tell # end ignoring
-
-
Edit Last Executed Macro ⌃⇧E 🌎
- Global script that shows the last executed macro, great when an edit needs to be made after execution.
-
Edit Macro Group of Front App ⌘⌥K 🌎
- Quickly jump to the macro group of the app you're currently in.
-
- Jump to the macro being called within a macro by the
Execute Macro
action.
- Jump to the macro being called within a macro by the
-
- This is a useful subroutine to get every action of the front macro, even those nested within if/else statements, switch statements, groups, etc.
-
Run Current Macro ⌘⌃R 🌎
- Crucial action, I use it all the time to test out the macro I'm working on but haven't set a trigger for it yet.