1、
Rem Start
IfColor 761 413 0E7171
KeyPress 50 1
EndIf
IfColor 761 413 0F0F0F
KeyPress 49 1
EndIf
Delay 200
i=i+1
If i<=10
Goto Start
EndIf
KeyPress 90 1
Delay 500
KeyPress 88 1
Delay是延时,可以根据需要更改
2、
Rem Start
IfColor 761 413 0E7171
KeyPress 50 1
Else
KeyPress 49 1
EndIf
Delay 200
i=i+1
If i<=10
Goto Start
EndIf
KeyPress 90 1
Delay 500
KeyPress 88 1
注意,复制到你的按键精灵中时,一定要把【循环】设置成:循环到按终止键为止才能不断循环!!
按键精灵里面有个动作录制的,不妨试试。。