RCtrl is not responding correctly to KeyWait with a timeout
I tried:
Code: Select all
RCtrl::
OutputDebug "here1"
KeyWait, RCtrl, T0.5
If ErrorLevel {
OutputDebug "longpress"
; long press code
} else {
OutputDebug "shortpress"
; short press code
}
return
Short press works fine, and also short and long press work fine if I replace RCtrl with LCtrl or RAlt for example
Tested (with DebugView etc) on multiple machines.