This script just works awhile ago, but now it doesn't.
What the script does is to disable both the mouse pad and usb mouse after I press the middle button of my usb mouse... but now it doesn't. Is there something wrong?
mbutton:: ;win + m hotkey
if (x != 1)
{
BlockInput, MouseMove
x := 1
Hotkey, LButton, DoNothing
Hotkey, RButton, DoNothing
Hotkey, XButton1, DoNothing
Hotkey, XButton2, DoNothing
return
}
if (x = 1)
reload
DoNothing:
return
F2::
Suspend
return
No other AHK script running, just this.
F2
, which will suspend the script. PressF2
again.