How to Find the Parent Group of a Macro

I had a couple of macros that I couldn't find. I could search All Macros for the names and find them that way, but I couldn't remember what group they were in. I eventually found them by "brute force", I searched for the exact name and then scrolled through the groups, one at a time, looking for any group that showed more than "And 14 Unmatched Macros" etc. And yes, the macros had been accidentally dropped into the wrong folder, one adjacent to where they belonged.

But I knew there had to be a better way. And I found it.

With the macro selected in the All Macros list, clicking View > Reveal Parent Group does exactly what I needed.


Also, if you have a Smart Group selected (whether a KM-defined one like "All Macros" or one you've made yourself) then when you select a macro (directly or after a search) the parent Group is shown in the top-right corner of the Editor window, in grey type. You can see this one is in the Group "Nige N Tests":


Wow. I've been a user for years, but I never knew that.

Wow. Thanks. That's lovely.

Well, @ikenassi, based on location and font color, it's not like it jumps out at you. But it is sure handy!

On a related note...

Consider going to Automating the Keyboard Maestro Editor with AppleScript to grab @ccstone’s AppleScript: Select the First Action of the Macro Currently Being Edited.

I used it to create a macro, located in the KM macro group, with a ⌃F hot key trigger.

Once you have that, with this simple hot key, you can scroll up a see the aforementioned group designation.

1 Like


1 Like

While this macro doesn't directly address August's issue, its development was inspired by same.