Do
Delay 100 //找蛋
FindPic 0, 0, 1366, 768, "Attachment:\2.bmp", 0.9, intX, intY
Delay 100
If intX > 0 And intY > 0 Then
Delay 100
MoveTo intX + 20, intY + 20
Delay 100
RightClick 1
Delay 100
Exit Do
Else //下一页
Delay 100
MoveTo 1265, 575
Delay 100
LeftClick 1
Delay 100
End If
Loop
Delay 100
MoveTo 658, 530
Delay 100
LeftClick 1
Delay 100 //找蛋
FindPic 0, 0, 1366, 768, "Attachment:\2.bmp", 0.9, intX, intY
Delay 100
If intX > 0 And intY > 0 Then
Delay 100
MoveTo intX + 20, intY + 20
Delay 100
RightClick 1
Delay 100
Exit Do
Else //下一页
Delay 100
MoveTo 1265, 575
Delay 100
LeftClick 1
Delay 100
End If
Loop
Delay 100
MoveTo 658, 530
Delay 100
LeftClick 1
