Execute Two Different Macros When I Press the Key vs When I Release It

Is there any way to execute "Macro 1" (simple Keystroke) when i press a key and then executing "Macro 2" (simple Keystroke) as soon as i release the same key? It would be awesome if anybody could explain!

You can use the hot key trigger with "is pressed" for key press or "is released" for key release:

Triggers on Press.kmmacros (1.5 KB)
Triggers on Release.kmmacros (1.5 KB)

Images

and

You can even combine them in one macro and branch depending on which trigger has fired:

Triggers on Both.kmmacros (3.3 KB)

Image

1 Like

Thank you, works perfectly!