I'm looking for some help. I have spent hours trying to figure out how to get around this. I have two hotkeys ~w and MButton.
If w is down then the Mbutton hotkey works fine. However, If I press MButton then w, The script pauses until I release w. I thought it was the KeyWait but it still happens if I take it out. I can't seem to figure it out.
Code: Select all
MButton::
toggle := !toggle
Loop
{
if !toggle
break
else
{
Send {3}
Sleep, 800
Send {LButton}
Send {Shift down}
Send {4}
Sleep, 800
Send {LButton}
Send {Shift down}
}
}
Send {Shift up}
return
~w::
Send {Shift down}
KeyWait, w
Send {Shift up}
return