For 3 Do FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY If intX > 0 Then //找到图的动作 MoveTo intX + 10, intY + 10 Delay 50 LeftClick 1 Exit Do End If Delay 200 Loop //刷新按钮点击 Delay 1000Next