源码如下
图片目录1 = "C:\Users\Administrator\Desktop\截图1.png"'图1 9
图片二目录1 = "C:\Users\Administrator\Desktop\截图2.png"'图2 确定
找图 = 0
While 找图 = 0
FindPic 194,381,502,431, 图片目录1, 0.8, intX, intY
If intX > 0 And intY > 0 Then
MoveTo 604, 991
Delay 5000
LeftClick 2
End If
Delay 500
FindPic 238,709,466,786, 图片二目录1, 0.8, intX2, intY2
If intX2 > 0 And intY2 > 0 Then
MoveTo 362, 743
Delay 500
LeftClick 1
Delay 2000
MoveTo 604, 991
Delay 2000
LeftClick 2
End If
Delay 500
Wend