How to reset a key sequence with a specific key?
问题 So this sequence resets itself after 1.5 sec which means if i dont hit the left mouse button for 1.5 sec it always sends A. I want to further tweak this code with another function which is to be able to reset it with right mouse button too. So if i hit RButton any time it should reset to A. THX global s:=0, c:=0, t:=1500, t2:=380 *LButton:: Send % Seqkeys("A","B","C") KeyWait, LButton Send, R If (A_TickCount-s < t2) c := 0 return Seqkeys(params*) { global s, c, t max := params.MaxIndex() (A