//获取屏幕分辨率
sx=Plugin.GetSysInfo.GetScreenResolutionX
sy=Plugin.GetSysInfo.GetScreenResolutionY
Rem 等待
If
FindPic 0,0,sx,sy,"Attachment:\要找的图.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
//找到
Else
//找不到跳回到等待
Delay 80
Goto 等待
End If
建议用for循环,用do循环的话,万一找不到就永远在找了