-1

I have to press two keys:

When the 'a' is pressed and released, thenafter 'b' is pressed and released and finally AutoHotKey sends me a key of my choice.

Edit: like:

a & b::c

Here, I am not pressing both keys at the same time, but one after another, and need c in resulting output.

  • You need to show your script. Talk about what you have tried. And try to make this into a question. – Jeter-work Mar 28 '21 at 02:48
  • We cannot understand what you are asking in this question. Please try to be more clear about where it is you are needing help. Showing a script that you've written and pointing out where it is going wrong is a great start. – HaveSpacesuit Mar 29 '21 at 14:54

1 Answers1

0

Is this what you want?

#NoEnv
#Warn
#SingleInstance Force
#UseHook
SetWorkingDir %A_ScriptDir%
SendMode Input

a::fCheck()

fCheck() {
    oIH := InputHook("L1")
    oIH.Start()
    oIH.Wait()
    If (oIH.Input == "b")
        Send c
}
Eli
  • 182
  • 1
  • 2
  • 12