KM - Assign Hotkey Trigger not working

Hi :wave: ,
so wanted to use KM and could not get any key assigned:



doesn't work, can't detect any input.
Tried assigning a single letter, CMD-a letter, CMD-numbers, nothing can get assigned.

What I already tried:

  • Updated macOS to latest version: nothing
  • Quit KMEengine and/or quit KM and/or restart laptop and/or restart KM: nothing
  • Updated KM 10 to KM 11: nothing
  • disabled/enabled permissions in System Settings: nothing
  • Ran secure input commands I found in the forum: nothing
  • Reset accessibility settings: nothing.
  • Shortcut Detective: nothing detected when I tried "CMD-1".
  • Ran these two:
ioreg -l -w 0 | grep SecureInput 

and

ioreg -l -w 0 | grep SecureInput | awk 'BEGIN {FS="[^a-zA-Z0-9]+"} {print $8}' | uniq | xargs -n 1 ps aux 

Result: They turn out empty, no output.

Security KM settings:

Note:
Already existing triggers such as typed text string ",sometext", or existing triggers "CMD-1" do work.
Typed strings can be assigned, no issues there.
If I delete the "CMD-1" trigger, I can't assign it back again.

thx

Hi @hello

I would still guess that Secure Input is Enabled as what you are getting is the exact symptom. Either logging out and logging back in or a restart should fix it. Or even just putting the screen to sleep for a moment or two usually fixes Secure Input for me.

As @Zabobon says...

Also check for any Chrome (or similar) tabs that might be waiting for a login, a 1Password "unlock" window, and so on. There's a bunch of things that don't get reported by those ioreg commands.

Have you tried all the standard checks, including Help > Interactive help in the menu?

Thanks, says all good...

Nope. Thanks Zabobon Logged out, restarted, sleep have had no effect.

Thanks, closed everything but still nothing.

Even began to uninstall other apps.

Please forgive the very basic question, but in your screenshot the hotkey field still says Click. You are first clicking that field and then trying to enter your hotkey, yes?

Yes, I click "Click",
it becomes active (blue),
then I try to enter a key combination, or a single letter, but nothing gets detected.

That might work, if you mean, say, other automation/shortcut apps.

Maybe first create a new user account, and try KM in that. If it still does not work as inspected, that would suggest a low-level problem, such as a reinstallation of the OS being needed. If it works, you will know that the problem is caused by something in your usual user account.

Created new user account and still couldn't get any key assigned.

Will try to reinstall OS, thanks

Reinstalled OS, KM still not working.
Ran out of ideas.

The vast majority of questions on this site get answers that resolve the issue. Since that's not what happened to you, consider opening a ticket with Stairways Software.

https://www.stairways.com/main/contact

Did you consider checking if KM works on a different Mac?

Have you checked that Keyboard Maestro Engine has Input Monitoring permission (or is not listed). If it is listed and not enabled, that will override accessibility permissions.

Yes, worked fine on another laptop

Hi Peter, checked and both KM and KM Engine were listed and enabled in System Settings > Privacy > Input Monitoring.

Just removed them, will report


Interesting enough, removed both from there, and when I opened the app again there wasn't any notifications, or message that they need to be added/added back. Nothing.
Quit engine, restarted, same thing.

That was it. Damn

Unfortunately, Keyboard Maestro cannot detect the state of Input Monitoring.

If they are in there and enabled, that should be fine, but sometimes the security system gets confused.