首先你找图有相似度0.1太低了 应改为0.9其次你两次找的是同一张图,如真是这样就改为:While true
FindPic 0,0,1024,768,"Attachment:\11.bmp",0.9,intX,intYIf intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 6000
KeyPress "S", 60Rem cc
FindPic 0,0,1024,768,"Attachment:\11.bmp",0.9,intX,intYIf intX > 0 And ...
|