发布网友
共2个回答
热心网友
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,"Attachment:\2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then //查找图2
Call Plugin.Msg.Tips("找到了")
Exit Do //找到了退出循环
End If
Delay 1000 //未找到图1或图2则等待1s重新查找
Loop
热心网友
用俩个循环