按键精灵我想运行脚本A多次后再执行脚本B一次 然后继续脚本B 请教一下 30 5

从这里开始,脚本ADoRem标记MoveTo908,963Delay1000LeftClick1Delay1000IfColor1325,740,"5D5264",0Th... 从这里开始, 脚本A
Do
Rem 标记
MoveTo 908, 963
Delay 1000
LeftClick 1
Delay 1000
IfColor 1325,740,"5D5264",0 Then
MoveTo 364, 368
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 404, 368
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 456, 370
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 322, 409
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 352, 414
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 402, 420
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 450, 421
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 321, 466
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 354, 468
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 398, 465
Delay 1000
KeyDown "Ctrl", 1
Delay 1000
LeftClick 1
Delay 1000
KeyUp "Ctrl", 1
Delay 1000
MoveTo 908, 963
Delay 1000
LeftClick 1
Delay 1000
//跳转语句,可以跳转到rem标记过的标记处继续执行
Else
MoveTo 908, 963
Delay 1000
LeftClick 1
End If
Delay 1000
loop
到这里,前面的脚本我想每循环下面的50次,就执行一次上面的,该怎么办鸭???

脚本B

For 50
FindColor 282,148,1700,900,"DAEFAF",intX,intY
If intX > 0 And intY > 0 Then
Delay 1000
MoveTo intX+19,intY+25
Delay 500
LeftDoubleClick 1
Delay 3000
FindColor 646,297,1300,1361,"DAEFAF",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+19,intY+25
LeftDoubleClick 1
Delay 1000
End If
KeyPress "F1", 1
Delay 4000
MoveTo 960, 522
Delay 500
LeftDoubleClick 1
Delay 500
LeftDoubleClick 1
Delay 11500
LeftClick 1
Delay 500
LeftClick 1
Delay 500
LeftDoubleClick 1
Delay 5000
End If
If 0 > intX And 0 > intY Then
MoveTo 950, 400
Delay 1000
LeftClick 1
Delay 5000
End If
If 0 > intX And 0 > intY Then
MoveTo 1800, 200
Delay 1000
LeftClick 1
Delay 10000
End If
Next
Goto 标记
展开
 我来答
复博基金DI
2018-12-04 · TA获得超过462个赞
知道小有建树答主
回答量:456
采纳率:75%
帮助的人:57.9万
展开全部
在你的脚本中加入下列命令:
在A脚本里运行一小时后,按下B脚本的启动热键,并停止endscript
在B脚本里运行一小时后,按键A脚本的启动热键,并停止endscript
注意:AB的启动和终止热键不要设置为一样哦,不然。。。
AB脚本同时放入一个小精灵里面
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式