a = TimedoFindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intYIf intX > 0 And intY > 0 Then b =Timef = mid(b, 4, 2) - mid(a, 4, 2)If f > 4 Then //执行操作End IfElse Exit Do End Ifloop
seleep延迟50在找图不久好啦