按键精灵设置循环命令。找到图后。命令只能执行1次但是,我想要图在里面命令无限循环求大神。帮帮我。
FindPic0,0,1024,768,"Attachment:\1234.bmp",0.9,intX,intYIfintX>0AndintY>0ThenDelay300...
FindPic 0,0,1024,768,"Attachment:\1234.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 300
MoveTo 867, 724
Delay 300
LeftClick 1
End If
FindPic 0,0,1024,768,"Attachment:\999.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo 1249, 137
Delay 300
LeftClick 1
MoveTo 1209, 160
Delay 300
LeftClick 1
MoveTo 1209, 193
Delay 300
LeftClick 1
MoveTo 894, 510
Delay 300
LeftClick 1
MoveTo 1208, 217
Delay 300
LeftClick 1
MoveTo 1209, 243
Delay 300
LeftClick 1
MoveTo 1206, 269
Delay 300
LeftClick 1
MoveTo 1204, 320
Delay 300
LeftClick 1
MoveTo 1202, 295
Delay 300
LeftClick 1
End If
FindPic 0,0,1024,768,"Attachment:\789.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 300
MoveTo 867, 724
Delay 2000
LeftClick 1
MoveTo 898, 540
Delay 300
LeftClick 1
End If
FindPic 0,0,1024,768,"Attachment:\123.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
KeyPress "w", 1
Delay 100
KeyPress "s", 1
Delay 300
MoveTo 278, 730
Delay 300
End If
上面的是找到图后的命令。想要找到图后里面的命令无限循环
比如这个
FindPic 0,0,1024,768,"Attachment:\123.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
这下面的命令无限循环找到图后
KeyPress "w", 1
Delay 100
KeyPress "s", 1
Delay 300
MoveTo 278, 730
Delay 300
End If
谁来帮帮我啊.先谢谢了 展开
If intX > 0 And intY > 0 Then
Delay 300
MoveTo 867, 724
Delay 300
LeftClick 1
End If
FindPic 0,0,1024,768,"Attachment:\999.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo 1249, 137
Delay 300
LeftClick 1
MoveTo 1209, 160
Delay 300
LeftClick 1
MoveTo 1209, 193
Delay 300
LeftClick 1
MoveTo 894, 510
Delay 300
LeftClick 1
MoveTo 1208, 217
Delay 300
LeftClick 1
MoveTo 1209, 243
Delay 300
LeftClick 1
MoveTo 1206, 269
Delay 300
LeftClick 1
MoveTo 1204, 320
Delay 300
LeftClick 1
MoveTo 1202, 295
Delay 300
LeftClick 1
End If
FindPic 0,0,1024,768,"Attachment:\789.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 300
MoveTo 867, 724
Delay 2000
LeftClick 1
MoveTo 898, 540
Delay 300
LeftClick 1
End If
FindPic 0,0,1024,768,"Attachment:\123.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
KeyPress "w", 1
Delay 100
KeyPress "s", 1
Delay 300
MoveTo 278, 730
Delay 300
End If
上面的是找到图后的命令。想要找到图后里面的命令无限循环
比如这个
FindPic 0,0,1024,768,"Attachment:\123.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
这下面的命令无限循环找到图后
KeyPress "w", 1
Delay 100
KeyPress "s", 1
Delay 300
MoveTo 278, 730
Delay 300
End If
谁来帮帮我啊.先谢谢了 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询