Very nice. I have a similar concept (app-specific palettes) that I do by assigning the same hot key to conflict palettes that are only available in the context of specific app(s). For example.
Since I’m discussing palettes here, I thought I’d pass on this tip I got from someone else (sorry can’t remember who).
**EDIT: 2017-05-10 7:31 PM CT -- Sub-Palette Author**
* I found the source of my "idea":
* [Pallets & Sub-Pallets make KM so easy](https://forum.keyboardmaestro.com/t/pallets-sub-pallets-make-km-so-easy/6070) by @appleianer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
###Use "Sub-Palettes"
* This is a made-up term.
* KM does NOT technically have "Sub-Palettes".
* It simply means having a Macro in one palette that shows another palette, which I call the "Sub-Palette".
* The purpose is to keep the parent Palette short and simple, showing only your most often used macros.
* But then allowing you to see more Macros in a palette when you need to.
###Example: Script Debugger
Using the macro I posted at the top of this topic, I have one Switch Case for "Script Debugger":
<img src="/uploads/default/original/2X/8/889de3b693720c9ae48d3bfb81b91b45d1af6889.png" width="431" height="158">
When I press ⌃⇧P while Script Debugger is frontmost, I see this:
<img src="/uploads/default/original/2X/0/0a5fbba63cb7dc0e591152fd494db6d99271a2aa.jpg" width="423" height="214">
The Action that displays this macro does so for "Show palette for one action". If I wanted to keep showing it until I hid it, then I could have chosen the Action option "Show/Hide palette".
When I type "M" for "Main", I see the Sub-Palette:
<img src="/uploads/default/original/2X/5/5c227fcb9bce6e9efe98f0c122881ef5bf846faa.jpg" width="541" height="357">
Notice on this palette there are several Macros with a "typed string" trigger.
I can't always remember these. Once this palette is showing I can see the "typed string", press ESC, and then actually type the string in SD to trigger the macro.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Again, this was not my idea. Someone else suggested it, but it took me a while, with some experimentation, to understand how I could use it. Once you see it in action, it becomes very obvious.
Of course, if you wish, each sub-palette could have a Macro that shows yet another sub-palette.
I hope you guys find this helpful.
JMichaelTX's macro at the top provided the approach I've been looking for as well in order to use a palette to simply remind me of my macros' triggers. Neither the Global Macro Palette or even a duplicate Macros Group Palette approach worked to my satisfaction! However, his macro offered the following approach, not based upon any specific application.
Keyboard Maestro “Display KM TextExpander Group Macros Palette” Macro
@KM_Panther, I'm glad you found my macro/technique helpful.
If I correctly understand your objective with your macro, it is to toggle the display of the palette on/off, right?
If so, then I think you can use the "Show/Hide palette" option to achieve this with one action. Each time I trigger the macro it toggles the palette on/off.