• 按键公众号 :
按键精灵电脑版
立即下载

软件版本:2014.06
软件大小:22.9M
更新时间:2021-12-03

按键精灵安卓版
立即下载

软件版本:4.1.1
软件大小:45M
更新时间:2025-09-09

按键精灵iOS版
立即下载

软件版本:2.4.2
软件大小:29.2M
更新时间:2025-09-24

按键手机助手
立即下载

软件版本:4.4.1
软件大小:242M
更新时间:2025-09-09

快捷导航

登录 后使用快捷导航
没有帐号? 注册

发新话题 回复该主题

[已解决] 按键精灵手机版的问题 呼叫:瑞祥幽冥狼 老大 [复制链接]

1#
首先很感谢我的上一个帖子 瑞祥幽冥狼 老大帮了我大忙,解决我的问题,现在我依旧想请教你,手机版的代码,也是借用你的代码,但是提示不对.Function 找图()


picpath=array("添加或编辑" )//这里添加多个图片的名字
找图 = False'开头声明False,找到等于true
Do
Dim intX, intY
For i=0 to UBound( picpath)'图片数组下标不能和次数i混用,i=10退出,图片只有4
FindPic 0, 0, 0, 0, "Attachment:\" & picpath(i) & ".png", "000000", 0,1, intX, intY
//如果没有找到,intX和intY的值都会被置为-1
If intX > -1 And intY > -1 Then
tap intX, intY
TracePrint "恭喜找到这张图片......"&picpath(i)
找图 = i'直接返回找到的下标
Exit Do //退出循环
Else
TracePrint "正在重新查找图片中......."&picpath(i)
End If
Next

Delay 300
Loop


End Function

2#

首先很感谢我的上一个帖子 瑞祥幽冥狼 老大帮了我大忙,解决我的问题,现在我依旧想请教你,手机版的代码,也是借用你的代码,但是提示不对.Function 找图()


picpath=array("添加或编辑" )//这里添加......
asd300300 发表于 2025/10/27 20:56:24
Function ()'
Dim picpath=array("")'dim
Dim = False
Do
Dim intX, intY
For i=0 to UBound( picpath)
FindPic 0, 0, 0, 0, "Attachment:" & picpath(i) & ".png", "000000", 0,1, intX, intY
'Attachment:
If intX > -1 And intY > -1 Then
tap intX, intY
TracePrint "......"&picpath(i)
= i'
Exit Do //退
Else
TracePrint "......."&picpath(i)
End If
Next
Delay 300
Loop
End Function

收 徒 索 引 ← ← ← ← ← ← ← ← ← ← 点 击

个 人 Q Q 1 : 1 2 2 3 1 1 6 6 1 8[将满]
个 人 Q Q 2 : 6 1 7 0 9 5 5 4 3[可加]
3#

,

感谢呀 有你真是太好了

发新话题 回复该主题