Do
For i = 1 To 9
FindPic 15, 30, 640, 510, "attachment:" & cstr(i) & ".bmp", 0.9, intx, inty
If intx > 0 and inty > 0 Then
If 打猎(intx, inty) = - 1 Then
ExitScript
End If
End If
Next
Loop
Function 打猎(x, y)
MoveTo x + 2, y + 2
LeftClick 1
Delay 10
MoveTo 100, 100
打猎 = 1
End Function
大概是这样吧!这不太合适新手看的。
讲解起来篇幅会变长不少