Thanks Andreas, HyperKey combinations seem to work more reliably in v3.545 now.
@tjluoma I don't have a lot experience in Keyboard Maestro, but would it work to add 'delay 500ms' at the beginning of your script, just to give time for you to release Caps Lock?
Thank you! Currently looking in named trigger issue.
My suggestion is to use the BTT actions that "up" the modifier keys, before triggering your Keyboard Maestro macro.
It is not working for me. It worked OK when I first tried "Caps Lock Alone", but after I used a few "Caps Lock + Another Key" then "Caps Lock Alone" stopped working.
(Caps Lock + A seems to be working a bit better but I can't tell if that's a side-effect of the other issue that I am seeing.)
UPDATE:
I restarted BTT again and now it seems to be working OK.
Thanks for the quick fix @Andreas_Hegenberg! I'm still having two separate issues:
This one is easier to reproduce, as it happens consistently: it seems that any time I press one of the arrow keys, the next hyper key trigger does not work. When I try again it generally works on the first retry, sometimes on the second.
Ah! That gave me an idea. I added a “Pause Until” in Keyboard Maestro to say “Pause until the ' key is “UP” before executing, so as long as I let go of Caps Lock before then, it should work.
(Unfortunately I could not seem to get Keyboard Maestro to do “Pause Until Caps Lock” is up.)
Are you triggering the keyboard maestro macro from a BTT trigger or directly via a keyboard shortcut? (I'd recommend to trigger it via BTT, then my solution posted above should work fine). Or maybe you can replicate your Macro within BTT?
@Andreas_Hegenberg great! The arrow key problems seems to be fixed, but the stuck modifier keys bug is still going strong This time, somehow, I managed to get it permanently stuck and had to turn the keyboard off/on in order to undo this condition (I got it on video and can send it to you if you want). Can it be related to external/bluetooth keyboards somehow?
Just verified that it is happening with the keyboard on the cable.
Also, somehow, I've managed to lock BTT in a state where, if it is open, the hyper key is perpetually stuck, even if I close and reopen BTT. I was thinking about reinstalling BTT and see if something improves, just wanted to check in with you first, @Andreas_Hegenberg in case you'd like me to run any tests/diagnostic in this bugged state.
OK, I'll try to downgrade and see. Right now (after reinstalling and updating to the latest alpha) the hyper keys combination is not stuck anymore, but all my older shortcuts are still working if I invoke them using CTRL+ALT+SHIFT+CMD, even though BTT is not showing any keyboard shortcuts.
OMG, sorry about these latest issues. I've updated Alfred in the meantime and it apparently reenabled a couple of old workflows I used to have. That's why the shortcuts were working even when nothing was set up in BTT.
I'll keep testing to see if the stuck keys are still a problem. Thanks @Andreas_Hegenberg!
I have done more testing and various stress tests but couldn't reproduce a stuck key issue in v3.549 (alpha). If this is still happening for you with that version, it would be great if you'd go to Help => Export Diagnostic Debug Information and send the result to andreas@folivora.ai