按键精灵找图路径的问题,没有电脑自己写找图命令,结果都返回找不到具体如下 5
delay1000SnapShot"/storage/emulated/0/a.png",100,100,300,300Delay30000DimintX,intYFin...
delay 1000
SnapShot "/storage/emulated/0/a.png ",100,100,300,300
Delay 30000
Dim intX, intY
FindPic 0, 0, 0, 0, "/storage/emulated/0/a.png","000000",0, 0.8, intX, intY
If intX >-1 then
Showmessage "我找到了,坐标是"&intx&","&inty,10000,50,50
Delay 3000
Else
Showmessage "我没找到",10000,50,50
delay 3000
End If
Dim x,y
Findpic 0,0,0,0,"/storage/emulated/0/A.png","000000",0,0.8,x,y
If X >-1 then
Showmessage "找到了,坐标是"&x&","&y,10000,50,50
tap x,y
delay 10000
Else
Showmessage "没找到",10000,50,50
Delay 10000
End if 展开
SnapShot "/storage/emulated/0/a.png ",100,100,300,300
Delay 30000
Dim intX, intY
FindPic 0, 0, 0, 0, "/storage/emulated/0/a.png","000000",0, 0.8, intX, intY
If intX >-1 then
Showmessage "我找到了,坐标是"&intx&","&inty,10000,50,50
Delay 3000
Else
Showmessage "我没找到",10000,50,50
delay 3000
End If
Dim x,y
Findpic 0,0,0,0,"/storage/emulated/0/A.png","000000",0,0.8,x,y
If X >-1 then
Showmessage "找到了,坐标是"&x&","&y,10000,50,50
tap x,y
delay 10000
Else
Showmessage "没找到",10000,50,50
Delay 10000
End if 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询