Quicker way to Enable and Disable actions?

Is there a quicker way to enable and disable an action than right clicking and selecting it from the KM menu? A hotkey shortcut perhaps?

**Note, I did peruse the users manual for this, but kept searching....and searching....and searching....

I use this macro in a Keyboard Maestro-only group:

Interesting. I don't think that I want to go so far as to program an actual command for this. I was just hoping that there was a shortcut. But thank you for the response : )

It's very easy to create a shortcut. Just create a macro with your favourite shortcut key and add this action to it:

image

This will enable or disable the currently selection (single) action. If you want it to work on multiple actions, I'll need more time to think about that.

I'm not sure I understand; there's nothing to program. You can just download and install the macro then set your desired keyboard shortcut.

Hello Airy (@Airy)

Sorry if I made a mistake but I’m not good in making Regular Expressions. You maybe just change the RegEx into ^((Disable Action|Enable Action)|((Disable (d+) Actions|Enable (d+) Actions)))$ or something similar that maybe has no mistakes built into.

Greetings from Germany :de:

Tobias

If you say that worked, I believe you. Good job.

Thanks for that compliment... but I’m just guessing on the Expression… it’s possible I made some heavy mistakes.

Greetings from Germany :de:

Tobias

This should do one or many actions:

image

^(Dis|En)able (\d+ )?Action(s)?$

Short but explicit.

4 Likes

I'm glad you helped out. That was a sweet solution.

Thanks Nige (@Nige_S)

I knew I wasn’t completely right on my suggestion I made above.

Hopefully I get better on Regular Expressions.

Greetings from Germany :de:

Tobias

I don't think you were wrong, either (although I haven't tested it).

In many ways yours is more "correct" -- for example, my regex will match what we want but will also give a "false" match on

Enable Actions

...where there's no number but "Action" is plural. And, similarly, with

Enable 27 Action

Not a problem in this case so we can go with my looser simplified regex.

1 Like