Short Press Shortcut Do One Action, Long Press Do Something Else

Hi Peter,

Since KM recognized pauses between taps is so critical to using this feature, is there any way you could program the actions into a downloadable macro? Using the fastest, most reliable actions? I understand the "pause" timing has to be set individually based on your circumstances. It's just I see all kinds of ways of doing this, some very complex like this:

[Like this, although maybe this was earlier versions?]
(MACRO: HotKey Multi-Press Template (Double-Press, Triple-Press, Etc.))

There are examples of using this variable counting keystrokes, text variable, all kinds of stuff.

Seems like this could be programmed into KM's tap trigger itself. Next to tap (once, twice, thrice) another data field, "wait x number seconds before execution" to allow another tap. You could always leave it blank or enter 0 if didn't want a delay.

Here is what you wrote:

First
Trigger: tapped once
Action:
Set Do First to 1
Pause
If variable Do First is 1 then
Macro A

Second
Trigger: tapped twice
Action:
Set Do First to 0
Set Do Second to 1
Pause
If variable Do Second is 1 then
Macro B

Second
Trigger: tapped thrice
Action:
Set Do Second to 0
Set Do Third to 1
Macro C

I'd be using an xKeys. Which "actions" are you using to program this? I'm confused about the second "second". Do you mean "Third"? Is there a pause in that one?

What's the simplest way to

  1. Tap once on an xKeys, have KM pause for like .2 seconds, if no other tap occurs, do Macro A
  2. If another tap occurs, wait .2 seconds, if no other tap occurs, do Macro B,
  3. Wait .2 seconds, if no other tap occurs, do Macro C

Thanks!