jmfs.net
当前位置:首页>>关于按键精灵 如何在循环中,找两张图,找到其中随意一...的资料>>

按键精灵 如何在循环中,找两张图,找到其中随意一...

DoFindPic 976,749,1133,791,"Attachment:\1.bmp",0.9,intX,intYIf intX > 0 And intY > 0 Then //找到了 Goto 跳出循环 Else End If FindPic 976,749,1133,791,"Attachment:\2.bmp",0.9,intX,intYIf intX > 0 And intY > 0 Then //找到了 Goto ...

Do AX = Plugin.Sys.GetScRX():AY = Plugin.Sys.GetScRY() FindPic 0, 0, AX, AY, "Attachment:\立刻购买.bmp", 0.9, intX, intY If intX > 0 And intY > 0 Then MoveTo intX+5,intY+5 LeftClick 1 Do FindPic 0, 0, AX, AY, "Attachment:\立即...

Do //找图循环 FindPic 0,0,1024,768,"Attachment:\1.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then //查找图1并点击 MoveTo intX, intY //找到了立即点击在等待比较好,避免出错 LeftClick Delay 1000 End If FindPic 0,0,1024,768,"Attac...

题主,你好!参考代码如下: 使用说明:将五张图片命名为:图1.bmp图2.bmp图3.bmp图4.bmp图5.bmp Do For i = 1 To 4 FindPic 0, 0, 1024, 768, "Attachment:\图5.bmp", 0.9, intX, intY If intX - 1 Then MoveTo intX + 1, intY + 1 LeftClick 1...

Do Do FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY'神盾.bmp改成你要找的图片名称 If intX > 0 And intY > 0 Then Call 程序1 Exit Do End If Delay 1000 Loop Call 程序2 Loop Sub 程序1 '你的程序 End Sub Sub 程序2 '你的程...

太简单了

执行1 = 0执行2 = 0Do If 执行1 = 1 Then If DateDiff("s", t1, now) > 20 Then ////20秒后再重新开始执行任务1 执行1 = 0 End If End If If 执行2 = 1 Then If DateDiff("s", t2, now) > 10 Then ////10秒后再重新开始执行任务2 执行2 = 0 End ...

a=0 For 20 FindPic 0+a,0,1024+a,768,"Attachment:\导入.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then MoveTo intX,intY LeftClick 1 Delay 400 FindPic 0,0,1024,768,"Attachment:\下载.bmp",0.9,intX,intY If intX > 0 And intY > 0 Th...

do MoveTo 765, 608 Delay 200 LeftClick 1 Delay 1000//延迟一秒后判断 FindPic 0,0,1024,768,"Attachment:\绿色刺探.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then //如果找到图就执行以下操作 Delay 1000 MoveTo 880, 608 Delay 300 Lef...

KeyPress "N", 1'理论上来说第一循环是 do,但是你应该不是要退出do循环Do For 10 Delay 500 FindPic 0, 0, 1024, 768, "Attachment:\达芙妮.bmp", 0.9, intX, intY Delay 500 MoveTo intX + 10, intY + 10 Delay 500 RightClick 1 Delay 500 Rig...

网站首页 | 网站地图
All rights reserved Powered by www.jmfs.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com