You mention Chinese is your mother language -- do you use Chinese language on your computer?
My suspicion is that your keyboard and/or the operating system language (and keyboard driver) are very peculiar. Have you tried NOT running your script and pressed Win+4+5to see if it produces a Numpad8 or 8? How about 4+5 without the Windows key?
There may be a workaround regardless if we can diagnose the problem. You can make a Numpad8 or 8 hotkey that does nothing by just using the
Return command. You might even just turn on and off his hotkey with the
Hotkey command.
Code: Select all
#4::
Hotkey, Numpad8, On
SetTimer, Numpad8_TurnOff, -200
Send {Numpad4}
return
Numpad8_TurnOff:
Hotkey, Numpad8, Off
return
Numpad8::return ; when on, the Numpad8 key is disabled
Now, it may not be the Numpad8 key that is the produced key stroke if all you see is "8" produced on screen. So you may need to turn off the 8 key as well by using
8::return instead. And also, initially, you may want to use in the auto-
execute section
Hotkey, Numpad8, Off.