MACRO: Expand the Show Palette of Macros action, v1.0

Keyboard Maestro Version 11+ Required

BACKGROUND

As I mentioned in another recent thread, I'm a big fan of the Show Palette of Macros action. When rendered, these palettes mimic all of the powerful features of Conflict Palettes.

When configuring a Show Palette of Macros action, you can specify Macros, Macro Groups, and Smart Groups. For the latter two, the member macros of the respective groups are displayed on the palette rather than the groups themselves. This provides considerable flexibility when building palettes.

Note that a Smart Group entry is dynamic: the macros contributed to the displayed palette are determined when the palette is rendered, not when the action is configured. That is, as a Smart Group's membership changes over time, so does the displayed palette.


One drawback of the Show Palette of Macros action is that configuring can become increasingly slow as your macro library grows. In my case, clicking the + button to add an entry now takes several seconds to display the selection menu.


When a palette is rendered, macros appear in alphabetical order, not the order they appear in the configured action. For example, with this configuration:


Below is the respective rendered palette. Note that macro Macro Y – π˜ͺ𝘯π˜ͺ𝘡π˜ͺ𝘒𝘭𝘭𝘺 π˜ͺ𝘯 𝘱𝘒𝘭𝘦𝘡𝘡𝘦 𝘀𝘰𝘯𝘧π˜ͺ𝘨 appears before Macro Z – π˜ͺ𝘯π˜ͺ𝘡π˜ͺ𝘒𝘭𝘭𝘺 π˜ͺ𝘯 𝘱𝘒𝘭𝘦𝘡𝘡𝘦 𝘀𝘰𝘯𝘧π˜ͺ𝘨 even though the order is reversed in the action configuration.


PURPOSE

This macro assists during the configuration of a Keyboard Maestro palette. When a Show Palette of Macros action is selected and the macro is triggered, this dialog appears:


Here again, Smart Groups provide some interesting flexibility. For example, if you had several macros scattered across different macro groups that you wanted on a common palette, you could do the following:

  1. Create a Smart Group (e.g., SG 1) with the search string name:βœ… (or some other character you don't typically use in macro names).

  2. Locate the macros you want on the palette and add :white_check_mark: as a prefix to their names.

  3. Add the SG 1 Smart Group to the Show Palette of Macros action.

  4. Run this macro and select the Smart Group button. This creates a new Show Palette of Macros action that includes the individual :white_check_mark: macros expanded into its configuration.

  5. Go to the SG 1 Smart Group and remove the :white_check_mark: prefixes.

  6. Delete the SG 1 Smart Group.

Here's another scenario. Suppose you've worked on several macros in the last three days and want to add them all to a palette:

  1. Create a Smart Group (e.g., 3 Days) with the search string cre:3d.

  2. Add the 3 Days Smart Group to the Show Palette of Macros action.

  3. Run this macro and select the Smart Group button. This creates a new Show Palette of Macros action containing the individual macros from 3 Days.

  4. In the new Show Palette of Macros action, remove any macros you don't want on the palette. Removing entries is easy and fast.

  5. Delete the 3 Days Smart Group.


DIALOG BUTTONS

As shown above, the macro dialog includes Cancel along with four processing buttons: Neither, Smart Groups, Macro Groups, and Both. The screenshots below provide details for each.

The Keyboard Maestro editor includes these two Smart Groups:



Neither:


Smart Groups:


Macro Groups:


Both:


MACRO USE

  1. Select a Show Palette of Macros action and trigger this macro.

  2. The dialog displayed above will appear. Once you select an option an expanded Show Palette of Macros action will appear above the selected action.

  3. After confirming that the Show Palette of Macros action has been properly expanded, delete the original.

  4. Optionally modify the new action and rerun this macro as needed.


OTHER PALETTE CONFIGURATION MACROS

  1. Palette Organizer, by @DanThomas

  2. Show a Palette of Macros - Auto-Create and Populate, by @noisneil

  3. Report Palette Unused chars, by @_jims


TESTED WITH

β€’ Keyboard Maestro 11.0.4
β€’ Tahoe 26.5.2 (25F84)/MacBookPro18,2


VERSION HISTORY

1.0 - Initial version


Download: Expand the Show Palette of Macros action.kmmacros (87 KB)

Macro-Image


Macro-Notes
  • Macros are always disabled when imported into the Keyboard Maestro Editor.
    • The user must ensure the macro is enabled.
    • The user must also ensure the macro's parent macro-group is enabled.

System Information
  • macOS 26.5.2 (25F84)
  • Keyboard Maestro v11.0.4

4 Likes

That looks very impressive. I don’t use palettes other than conflict palettes, but that has got me interested in the possibilities again, and even if I don’t end up using your macro, I am sure to learn from it.

Is β€œalreading” an item of idiosyncratic terminology? I haven’t encountered it before.

1 Like

No secret code here; just a typo. :cry:

I’ve fixed some of the post, and I’ll update the four example images later today.

Thanks, @kevinb!

1 Like

Done!

What, alreading?!

3 Likes

Well played! :clap:

1 Like

I've shared a very similar macro for the Trigger Macro by Name action:

Expand the Trigger Macro by Name action