MACRO: Copy Macro as "Execute a Macro"

Copy Macro as an "Execute a Macro" Action

UPDATED v1.1: Pasted action now defaults to "With Parameter". You can change this default, if you want.

Copy Macro as Execute Macro.v1.1.kmmacros (27.3 KB)

Copies a Macro to the clipboard, ready to be pasted in as an "Execute a Macro" action.

Think about it for a minute.

Instead of the following workflow:

  1. Insert an "Execute a Macro" action.
  2. Click the pop-up menu button.
  3. Look around the list, trying to find the macro you want to execute.
  4. Forgetting which macro you wanted to execute.
  5. Wishing there were an easier way...

There is an easier way:

  1. Select a macro.
  2. Trigger this macro to copy it to the clipboard.
  3. Paste where you want the "Execute a Macro" action.

Simple as that.

###NOTE:
If you don't need "With Parameter", just uncheck it. Or change the default (see comments in the macro - it's easy!)

13 Likes

This is great. I was just about to ask for it — it’s been on my mind for a couple of weeks.

Just one problem: doesn’t work with an empty macro. Just get a beep and no pasted.

The solution is simple. “Don’t do that.” :wink:

Just wanted to say a quick thanks for this. Just discovered it and works like a charm! :+1:

Note that with version 8, you can simply drag a macro into the action list and Keyboard Maestro will create an Execute Macro action for you.

Drag with various modifiers to create different kinds of macro-related actions:

  • No modifiers: Execute the Macro / Show the Macro Group
  • Option: insert a copy of the macro’s actions
  • Command-Shift: Enable the Macro / Macro Group
  • Option-Shift: Mark the Macro
1 Like

Any chance you could add a shortcut key for #1, to insert a Execute Macro, and then allow the user to search for the macro to insert, like Dan does? When you have hundreds/thousands of macros, the biggest chore is finding the macro you want to use. Many of us prefer keyboard over mouse actions. Thanks.

Anything is possible, but I wouldn’t hold your breath on that one.

No problem. I can just continue using Dan’s macro. It works very well.

great macro. thank you Dan !

@ronald, just to be clear, this macro was written by @DanThomas.

2 Likes

OK thanks.