首先打开按键精灵,点击需要设置循环的脚本,再点击后方的【属性】
在脚本循环下,可以输入循环的次数
3
如果需要无限循环,选择中间的那个选项,脚本就会一直循环直到按下终止键,一般的终止键是【F12】
for 230
重复230次
next
//要重复的
for 230
Delay 170
MoveTo 1411, 542
LeftClick 1
Delay 10
MoveTo 1490, 845
LeftClick 1
Delay 10
MoveTo 1049, 802
LeftClick 1
Delay 10
MoveTo 1020, 850
LeftClick 1
Delay 10
MoveTo 755, 722
LeftClick 1
next
//执行一次的
Delay 170
MoveTo 1296, 950
LeftClick 1
Delay 10
MoveTo 1140, 690
LeftClick 1
Delay 10
MoveTo 469, 953
LeftClick 1
For i = 1 to 230
要重复的内容
Next
要执行一次的内容
do
For i = 1 to 230
Delay 170
MoveTo 1411, 542
LeftClick 1
Delay 10
MoveTo 1490, 845
LeftClick 1
Delay 10
MoveTo 1049, 802
LeftClick 1
Delay 10
MoveTo 1020, 850
LeftClick 1
Delay 10
MoveTo 755, 722
LeftClick 1
Next
Delay 170
MoveTo 1296, 950
LeftClick 1
Delay 10
MoveTo 1140, 690
LeftClick 1
Delay 10
MoveTo 469, 953
LeftClick 1
loop
有什么不懂欢迎继续追问,满意请及时采纳。