FindPic 0,0,1024,768,"Attachment:\logo.bmp",0.9,logoX,logoY Delay 300 If logoX < 0 And logoY < 0 Then Delay 300 MessageBox "请不要挡住窗口..." EndScript End If Delay 300 Rem 检测 IfColor logoX+329,logoY+116,"B246",1 Then Delay 300 KeyDown 18, 1 Delay 300 KeyPress 65, 1 Delay 300 KeyUp 18, 1 Delay 300 End If IfColor -129,-78,"DB9377",1 Then Delay 300 KeyDown 18, 1 Delay 300 KeyPress 70, 1 Delay 300 KeyUp 18, 1 End If Delay 300 Goto 检测