Do
FindPic 0,0,1024,768,"Attachment:\图1.bmp",0.9,intX,intY //找图一
If intX1 > 0 And intY1 > 0 Then
FindPic 0,0,1024,768,"Attachment:\图2.bmp",0.9,intX,intY //找图二
If intX2 > 0 And intY2 > 0 Then
MoveTo intX1, intY1
LeftClick 1 //点图一
End If
End If
Delay 500
Loop