目的:先自动输入一些字符然后我手工输入几个数字输入完按Shift后再自动输入几个字符。然后再接着执行其它的脚本。
弊病:要按两次Shift才能继续,继续自动输入后开始应该输入两个1结果一个也没有输入进去,以为是按两次Shift的原因所以改成输入4个1结果后面的数字全成双倍的了。我好晕。大家帮我改改,减化一下最好.
rem 输入2ND11A0700000000
KeyPress 98 1
KeyPress 78 1
KeyPress 68 1
KeyPress 97 2
KeyPress 65 1
KeyPress 96 1
KeyPress 103 1
KeyPress 96 8
Rem 等待Shift键继续
waitkey
WaitKey Pkey
If Pkey<>16
Goto 等待Shift键继续
else
rem ==输入11CP43
KeyPress 97 2
KeyPress 67 1
KeyPress 80 1
KeyPress 100 1
KeyPress 99 1
弊病:要按两次Shift才能继续,继续自动输入后开始应该输入两个1结果一个也没有输入进去,以为是按两次Shift的原因所以改成输入4个1结果后面的数字全成双倍的了。我好晕。大家帮我改改,减化一下最好.
rem 输入2ND11A0700000000
KeyPress 98 1
KeyPress 78 1
KeyPress 68 1
KeyPress 97 2
KeyPress 65 1
KeyPress 96 1
KeyPress 103 1
KeyPress 96 8
Rem 等待Shift键继续
waitkey
WaitKey Pkey
If Pkey<>16
Goto 等待Shift键继续
else
rem ==输入11CP43
KeyPress 97 2
KeyPress 67 1
KeyPress 80 1
KeyPress 100 1
KeyPress 99 1