I set Keyboard maestro to launch an app by tapping twice a letter.
It's work but I can't use this letter to type anything with my computer.
I had to delete this Macro to be able to use my assigned letter key again.
I don't understand how Noisneil work yet but it's very powerful!
I would prefer a system where I don't need to press multi modifiers
to execute it.
When I'll get more used to KM I might use Noisel's Multi press template.
The solution of
Trigger "is tapped" = letter remains letter.
Trigger "is long pressed" = launch an app.
works but I the letter S is showing more s lowly and I'm not sure
I will use thi s s olution
Ah, sorry, the multimodifier is just an example. You can use whatever you want. But if you want to use only one letter as a trigger, it is delayed with every solution. That's why I only use this with letters / numbers that are not needed when writing fast.
Have you tried the one I posted above? Just change the app to be launched in the Long Press section and it should work right away for you.
How it works:
The token %Trigger% will either be "The Hot Key S is pressed" or "The Hot Key S is released".
Log Trigger State*: this tests the current state of %Trigger% and sets a variable, MPTriggerReleased, to either "YES" or "NO".
Detect Press Type: this If/Else group ensures further actions are only triggered once per press (not also triggered upon release).
Wait for Release: This is a Pause Until action that waits for MPTriggerReleased to be "YES", but times out in 0.2 sec. If it becomes "YES" in time, then we can consider this a short press; if the pause times out while it's still "NO" then we consider it a long press.
Check for Release: If the Pause Until action received the variable state it was waiting for ("YES"), then it succeeded, and the %ActionResult% is "OK". This is used to differentiate between short and long presses.
Woah noisneil, you are a fantastic user of KM
I tried it even though I can't understand in detail how it works.
it' s still a little slow sometimes and I have no idea how to replace
the "Activate" Keyboard Maestro with my hot key