按键精灵中如何使用变量
Delay300MoveTo463,438Delay300LeftClick1Delay200KeyPress"BackSpace",30Delay300SayStrin...
Delay 300
MoveTo 463, 438
Delay 300
LeftClick 1
Delay 200
KeyPress "BackSpace", 30
Delay 300
SayString "jj00001"
Delay 300
KeyPress "Tab", 1
Delay 300
Delay 300
MoveTo 670, 448
Delay 200
LeftClick 1
Delay 300
MoveTo 999, 9
Delay 300
LeftClick 1
Delay 300
MoveTo 436, 396
Delay 300
LeftClick 5
Delay 300
MoveTo 455, 458
Delay 300
LeftClick 1
Delay 10000
我需要把重复运行上述命令,但是其中的jj00001第二次运行的变成jj00002,。。。。。第三次变成jj00003,以此类推,直到jj99999结束运行,请高人指点,请给完整的程序,不要给程序段,我不知道把那段放哪里。 展开
MoveTo 463, 438
Delay 300
LeftClick 1
Delay 200
KeyPress "BackSpace", 30
Delay 300
SayString "jj00001"
Delay 300
KeyPress "Tab", 1
Delay 300
Delay 300
MoveTo 670, 448
Delay 200
LeftClick 1
Delay 300
MoveTo 999, 9
Delay 300
LeftClick 1
Delay 300
MoveTo 436, 396
Delay 300
LeftClick 5
Delay 300
MoveTo 455, 458
Delay 300
LeftClick 1
Delay 10000
我需要把重复运行上述命令,但是其中的jj00001第二次运行的变成jj00002,。。。。。第三次变成jj00003,以此类推,直到jj99999结束运行,请高人指点,请给完整的程序,不要给程序段,我不知道把那段放哪里。 展开
1个回答
展开全部
X=1
For 99999 //这里是循环99999次,自已根据需要设置循环次数,本句为注释语句,不影响脚本运行。
Delay 300
MoveTo 463, 438
Delay 300
LeftClick 1
Delay 200
KeyPress "BackSpace", 30
Delay 300
SayString "jj0000"&X
Delay 300
KeyPress "Tab", 1
Delay 300
Delay 300
MoveTo 670, 448
Delay 200
LeftClick 1
Delay 300
MoveTo 999, 9
Delay 300
LeftClick 1
Delay 300
MoveTo 436, 396
Delay 300
LeftClick 5
Delay 300
MoveTo 455, 458
Delay 300
LeftClick 1
Delay 10000
X=X+1
Next
For 99999 //这里是循环99999次,自已根据需要设置循环次数,本句为注释语句,不影响脚本运行。
Delay 300
MoveTo 463, 438
Delay 300
LeftClick 1
Delay 200
KeyPress "BackSpace", 30
Delay 300
SayString "jj0000"&X
Delay 300
KeyPress "Tab", 1
Delay 300
Delay 300
MoveTo 670, 448
Delay 200
LeftClick 1
Delay 300
MoveTo 999, 9
Delay 300
LeftClick 1
Delay 300
MoveTo 436, 396
Delay 300
LeftClick 5
Delay 300
MoveTo 455, 458
Delay 300
LeftClick 1
Delay 10000
X=X+1
Next
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询