Yes, I already had tried it on that position, too, but could achieve to end up with the macro disabled equally. However, today I can not reproduce it at all, no matter what position and with or w/o Semaphore Lock. The last disabled macro I got was yesterday (with a Semaphore Lock). But there was a KM engine restart in-between, so maybe it’s this…
In any case, you are right with the empty selection (I didn’t test it against this), so it’s certainly preferable to place the Enable Macro before the If Then. I’ll change the screenshot and the macro above. Thanks.
BTW, each time the macro runs (without failure) I get this in the engine.log:
Assertion Failed: gCurrentExecuteActionListEntry, file: /Users/peter/Keyboard Maestro/Project/Source/Actions/HExecuteActionListManager.mm:1215, value: 0
I get this line once when the If Then condition is false (short key press), and I get the line twice when the If Then is true (long key press). A path “/Users/peter” does not exist on my machine.
--
Model Identifier: Macmini6,2
System Version: OS X 10.11.5 (15F34)
KM: 7.2