Exclude specific App from all keyboard triggered macros?

Sorry if the question already has been asked, I searched and didn’t find anything.

Is there a way to exclude an App from all macros? I can add an If in each macros but I have a lot.

Basically, I want all hot keys activated macros not to be activated when I’m in a specific app (ssh client).


1 Like

Here’s one idea.

Add a macro that triggers when the application is activated, and have it disable all the macros you don’t want. You could also disable the macro groups instead - that would be a shorter list.

Another macro for when the app is no longer activated can re-enable them.

I’d create a list of macros in a variable and loop through them.

I realize this requires synchronized maintenance, but that’s all I can think of. Anyone else?


For each Macro Group, you can specify which apps the macro will be available in. If your app is not one one of these, then the macros will NOT be triggered when you are in that app.

For a Global Macro Group, you can specify "All apps except:"

Does that answer your question?

1 Like

All macros, or just those trigger from a keystroke? If all, there’s a KM preference section for “Excludes” where you can list your apps. I exclude my IDEs, since they have so many of their own keybindings and ways to customize them.

This is awesome!
Thanks a lot :slight_smile: