按键精灵一直找不到图

While true
FindPic 0,0,1600,900,"Attachmengt:\log.bmp",0.7,logX,logY
If logX > 0 And logY > 0 Then
IfColor logX+940,logY+1000,"72F889",0 Then
IfColor logX+977,logY+1005, "E16AEC", 0 Then
KeyPress "Esc", 1
KeyPress "7", 1
Else
KeyPress "7", 1
End If
Delay 1000
End If
Else
MessageBox "没找到图"
EndScript
End If
Wend

这段有什么问题吗?运行的时候一直找不到图

第1个回答  2018-01-04
While true
FindPic 0,0,1600,900,"Attachmengt:\log.bmp",0.7,logX,logY
If logX > 0 And logY > 0 Then
IfColor logX+940,logY+1000,"72F889",0 Then
IfColor logX+977,logY+1005, "E16AEC", 0 Then
KeyPress 237, 1
KeyPress 55, 1
Else
KeyPress 55, 1
End If
Delay 1000
End If
Else
MessageBox "没找到图"
EndScript
End If
Wend
你这个是先找图再找色的语句本回答被网友采纳
第2个回答  2017-12-28
看不懂,这是什么追问

看图

相似回答