Macro to search within a palette or group needs a lot of improvement

attached: macro


The problem: I have been using KM for many years and as time goes on, palettes become larger and larger. I now have 600 macros. This poses 2 problems:

  • it is becoming increasingly tedious to peruse a large palette looking for a specific macro
  • over the years, I have been changing the syntax of my macro names / titles. For example "insert link to chrome front window" became "chrome front window", then "link to chrome", so I can't rely of the fact that macros are alphabetically ordered.
  • I only want to choose a macro within a group or palette, so the "trigger macro by name" action is not useful
  • I also have extensive nested palettes and conflict palettes, but at the end of the day, its not the solution because I lose the bird's eye view of the palette.

My solution below is bad because to search for a macro I have to switch from the app at the front to KM which defeats the idea of using palettes on top of the app.

I was thinking about using 2 actions
. an applescript containing the macro UUID as per script below instead of navigating through menus . I tested this and it works fine.
. using the action action:Prompt With List [Keyboard Maestro Wiki] action in which case the list contains only those macros contained the specific group or palette.

My problem is that in order to preserve my sanity with so many macros and so frequent additions, renaming and deletions of macros, the prompt with list action must self-populate and that, I think, is at the core of my question.

thanks in advance for your time and help

tell application "Keyboard Maestro"
	editMacro "52E2B392-3D6C-4284-85DE-88C3A6AC103B"
end tell

Search Mail Palette Group.kmmacros (5.1 KB)

Solved using Trigger Macro by Name by the excellent @Zabobon at Wish list: "trigger macro by name" action, add option to limit search to a macro group - Questions & Suggestions - Keyboard Maestro Discourse