I have something like this, but I am sure I am missing something basic.
Code: Select all
2::
If (A_TimeSincePriorHotkey < 150) ;hyperclick
Return
send {2 down}
KeyWait, 2
send {2 up}
Return
Code: Select all
2::
If (A_TimeSincePriorHotkey < 150) ;hyperclick
Return
send {2 down}
KeyWait, 2
send {2 up}
Return
Code: Select all
#Requires AutoHotkey v2.0
$2::Send A_PriorHotkey != A_ThisHotkey || A_TimeSincePriorHotkey > 150 ? 2 : ""