Prompt User to Activate Only 1 Macro Group

Hello,

What is the best way to accomplish this? Supposed I have the following macro groups: MG1, MG2, MG3, MG4, MG5. I would an input prompt to decide which macro group to activate and deactivate the other macro groups. Example, user choses to activate MG3, then only MG3 is activated, and MG1, MG2, MG4, MG5 are deactivated.

Any help is appreciated,
Chris

For only 5 groups? I'd use a Prompt for User Input action.

image

This allows you to give each button a keyboard shortcut.

Choose a Macro Group to Activate.kmmacros (2.5 KB)
Keyboard Maestro Export

If you're dealing with more groups then I'd probably move to a Prompt With List action.

Hi @ccstone,

So far, I have a hotkey which opens 3 macro group palettes. I can navigate to the sub-palettes and options with keyboard/mouse. I would like to only have 1 macro group active based on the user input. I saw your macro for button keyboard input, but I do not have a clue what to do next, :bowing_man:.

I tried a very simple macro to just deactivate a macro group, but the macro group is never deactivated.

Ideally, I would like to only have 1 macro group activated so that when I press the hotkey, only 1 macro group palette appears.

Download: zDimension and Other Macros.kmmacros (17 KB)

Thanks again,
Chris

@ccstone -- Oh, I finally got it.

Thanks for all your help. :slight_smile:

I use "Choose Macro Group" macro to select the macro group.

I use "Show Macro Group Palette" macro to show the selected macro group palette.


Download: zDimension and Other Macros.kmmacros (20 KB)

1 Like