第1个回答 2009-09-13
下面两个脚本都可以.您随便用个就可以了.只不过一个思路用循环计时,一个用变量计次.
Rem 开始
For 2
For 900
KeyPress 65,1
Delay 500
KeyPress 66,1
Delay 500
KeyPress 67,1
Delay 500
KeyPress 68,1
Delay 500
EndFor
KeyPress 69,1
Delay 500
KeyPress 70,1
Delay 500
EndFor
KeyPress 71,1
Delay 500
Goto 开始
b=0
y=0
Rem 开始
KeyPress 65,1
Delay 500
KeyPress 66,1
Delay 500
KeyPress 67,1
Delay 500
KeyPress 68,1
Delay 500
b=b+1
y=y+1
If b=900
KeyPress 69,1
Delay 500
KeyPress 70,1
Delay 500
b=0
EndIf
If y=1800
KeyPress 71,1
Delay 500
y=0
EndIf
Goto 开始