Feature Request: Proposed easier way to open macros jn the editor

In the Trigger Macro by Name palette, option double click to edit the macro.

In macro palettes, option click to edit the macro.

In the status menu, hold the option key down to edit the macro.

I have yet to figure out a good UI for hot key/typed string triggered macros.


Very good. Option-Return also works.

1 Like

Oh wow, that’s it! Didn’t realize this already existed. Thank you!

I don’t wanna sound naive, but is there a way to edit outside the “Keyboard Maestro Editor”? I tried looking at the info in this forum chain, but it does not seem to be readily apparent. Any insight appreciated.

Edit outside the editor? No.

If you want to edit macros, you use the Keyboard Maestro (editor) application. There isn’t any way to edit macros except within the application.

I’m not really sure what you’re trying to accomplish.

You can create quick macros on the fly, but they are strictly “record and then play back”. There is no editing.

I was just finding that some of the repetitive tasks were a bit cumbersome to edit, whereas in a text source code scenario, I might be able to use a column mode editor. But, yes, looking at the macros code itself, that does not look practical.

With that said, I am overall very impressed with Keyboard Maestro. Wish I knew about it a long time ago.

I was just finding that some of the repetitive tasks were a bit cumbersome to edit

I think the secret here is to create your own libraries and then call them from your macros. I have libraries for each of my applications (Finder, Omnifocus, Mail etc) and even some for certain websites. If I use something more than once then I try to break it out into what I call an 'Ingredient' and put it in these libraries.

I find that even something that seems utterly trivial is worth making into an ingredient - it's easier to call a Macro called Set CurrentDay Variable than to recreate the Action
Set Variable ‘CurrentDay’ To Calculation DAY(NOW())
each time I want it...

Rather… Yes, I think that could help. I will give that a try. Many thanks.

OK, I wanna give that a try now, but how do you call the library item?

Use the “Execute a Macro” action (from the Execute category).

Is there a way to pass arguments to the macro that is called?

Not directly from the action, but you can set variables from a macro and access them from another.

So basically they are global then, correct?

Yes, they are global and persistent (even across reboots). And you can also see/edit them from the preferences window.

A lot of flexibility to get familiarized with, but I think I get it now. Many thanks for the info.

This is kind of related.

When editing, I use Command-K to bring up and remove the Actions selection pane. The problem I have is that when I bring it up, it does not default to placing the cursor into the Actions Search Box. So rather than quickly bringing up the Actions to select, I have to move the mouse to the box.

I see that I can simply start typing and do alphabetical searches. However, invariably, I am not searching for a known command, rather I search for a solution - for example, anything related to “clipboard”. In the case of clipboard, there are no actions that start with the name “clipboard”, so I have to go hunting.

If there is a hack or other solution/setting that will allow me to toggle directly into to the Actions Search box, and then after finding the command, remove the Actions Search Pane from the editing session, I’d certainly like to hear about it.

Hot Key: Command-K

if menu item Hide Actions is enabled
	Select Menu Item View ➤ Hide Actions
	Select Menu Item View ➤ Show Actions
	Type a Keystroke: Command-F

I think the else statement needs to select ‘Show Actions’ rather than ‘Hide Actions’

Quite right, my mistake. I'll edit the post, which will just make these two posts look silly ;-).

After coding this to success, I added it to the Macro section of the forum.

It can be found here.

Many thanks to all.