if u didnt get no replies, the title probably didnt say it all then
XButton2 & WheelDown::Esc is a remapping
remappings expand to
Code: Select all
*a::
SetKeyDelay -1 ; If the destination key is a mouse button, SetMouseDelay is used instead.
Send {Blind}{b DownR} ; DownR is like Down except that other Send commands in the script won't assume "b" should stay down during their Send.
return
*a up::
SetKeyDelay -1 ; See note below for why press-duration is not specified with either of these SetKeyDelays.
Send {Blind}{b up}
return
mouse
WheelXXX dont have "up" counterparts(for obvious reasons, u cant "hold down" one mouse scroll, nor can u "release" it. its a quantized event), so urs becomes just
Code: Select all
*XButton2 & WheelDown::
SetKeyDelay -1 ; If the destination key is a mouse button, SetMouseDelay is used instead.
Send {Blind}{Esc DownR} ; DownR is like Down except that other Send commands in the script won't assume "b" should stay down during their Send.
return
ie u activate the hotkey,
Esc stays down. solution: if u have mousewheel hotkeys, dont use remappings, use
Send {Esc} instead.