Do
FindPic 0,0,1024,1280,"Attachment:\daoqi.bmp",0.9,intX,intY
If intX > 0 Then
TracePrint "图1找到"
FindPic 0, 0, 1024, 1280, "Attachment:\daoqi2.bmp", 0.9, intX, intY
If intX > 0 Then
TracePrint "图2找到"
MoveTo intX + 10, intY + 10
Delay 50
LeftClick 1
FindPic 0, 0, 1024, 1280, "Attachment:\daoqi3.bmp", 0.9, intX, intY
If intX > 0 Then
TracePrint "图3找到"
MoveTo intX + 10, intY + 10
Delay 50
LeftClick 1
Else
TracePrint "图3没有找到"
End If
Else
TracePrint "图2没有找到"
End If
End If
Delay 200
Loop
就这样吧,提醒图片最好不要放附件,附件中的图片有时候会找不到,要放在电脑上,