Anyone has any idea why this is happening?
Code: Select all
$<::
While ( GetKeyState( "<","P" ) ) {
Send, e
Sleep, 5
Send, r
Sleep, 5
Send, q
Sleep, 5
Send, {Rbutton}
Sleep, 5
}
return
Code: Select all
$<::
While ( GetKeyState( "<","P" ) ) {
Send, e
Sleep, 5
Send, r
Sleep, 5
Send, q
Sleep, 5
Send, {Rbutton}
Sleep, 5
}
return
Code: Select all
+,::
SetKeyDelay, 15
on := True
ToolTip, %on%
While GetKeyState(",", "P")
Send {Shift up}erq{RButton}
on := False
ToolTip, %on%
#If on
,::Return
#If
I will give this a shot and see if this help. For now thanks alot <3mikeyww wrote: ↑07 Aug 2022, 09:17In some situations, if the system is not ready to receive keyboard input, the input (e.g., key-press data) is stored in a holding area (buffer), from which the data are then processed when the system becomes ready. This can lead to unexpected or unwanted results.
One idea is below (US keyboard). It may need some adjustments.
Code: Select all
+,:: SetKeyDelay, 15 on := True ToolTip, %on% While GetKeyState(",", "P") Send {Shift up}erq{RButton} on := False ToolTip, %on% #If on ,::Return #If