按键精灵9 区域找图 为什么它找不到图不进行B(没有图)而是跑到X=0Y=0继续A句列?求大神帮帮看哪的问题
FindPic0,0,1024,768,"Attachment:\1.bmp",0.9,logoX,logoYIflogoX>0AndlogoY>0ThenEndIfIf...
FindPic 0,0,1024,768,"Attachment:\1.bmp",0.9,logoX,logoY
If logoX > 0 And logoY > 0 Then
End If
If true Then
MoveTo logoX, logoY
Delay 100
RightClick 1
FindPic 0,0,1024,768,"Attachment:\2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
End If
MoveTo intX, intY
Delay 1000
FindPic 0,0,1024,768,"Attachment:\3.bmp",0.9,goloX,goloY
If goloX > 0 And goloY > 0 Then
End If
Delay 100
MoveTo goloX, goloY
LeftClick 1
Delay 5000
else
MessageBox "没有找到图列"
End If 展开
If logoX > 0 And logoY > 0 Then
End If
If true Then
MoveTo logoX, logoY
Delay 100
RightClick 1
FindPic 0,0,1024,768,"Attachment:\2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
End If
MoveTo intX, intY
Delay 1000
FindPic 0,0,1024,768,"Attachment:\3.bmp",0.9,goloX,goloY
If goloX > 0 And goloY > 0 Then
End If
Delay 100
MoveTo goloX, goloY
LeftClick 1
Delay 5000
else
MessageBox "没有找到图列"
End If 展开
2个回答
展开全部
你的意思是什么。你想实现什么样子的?
下面的是你要的不
FindPic 0,0,1024,768,"Attachment:\1.bmp",0.9,logoX,logoY
If logoX > 0 And logoY > 0 Then
MoveTo logoX, logoY
Delay 100
RightClick 1
FindPic 0, 0, 1024, 768, "Attachment:\2.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 1000
FindPic 0, 0, 1024, 768, "Attachment:\3.bmp", 0.9, goloX, goloY
If goloX > 0 And goloY > 0 Then
Delay 100
MoveTo goloX, goloY
LeftClick 1
Delay 5000
End If
End If
Else
MessageBox "没有找到图列"
End If
下面的是你要的不
FindPic 0,0,1024,768,"Attachment:\1.bmp",0.9,logoX,logoY
If logoX > 0 And logoY > 0 Then
MoveTo logoX, logoY
Delay 100
RightClick 1
FindPic 0, 0, 1024, 768, "Attachment:\2.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 1000
FindPic 0, 0, 1024, 768, "Attachment:\3.bmp", 0.9, goloX, goloY
If goloX > 0 And goloY > 0 Then
Delay 100
MoveTo goloX, goloY
LeftClick 1
Delay 5000
End If
End If
Else
MessageBox "没有找到图列"
End If
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询