本帖最后由 a906687926 于 2022-5-5 11:12 编辑
下面是文档的实例,我想知道怎么显示 没有找到“开始按钮”。 比如说类_图色.rx 表示返回的x坐标,怎么显示色点的名字呢?
local 自动点击={}
local i=1
自动点击[i]={"开始按钮",0,0,0,0,"EFEFEF-202020","-292|420|5BCC5E-202020|-468|372|FF4972-202020|-428|383|0B1265-202020|-457|35|FFFFFF-202020|-370|38|D8DDE3-202020|-350|8|252528-202020"} i=i+1
自动点击[i]={"选择按钮",0,0,0,0,"4F24D1-202020","-26|48|EFF4F8-202020|-104|70|27035D-202020|-165|35|252528-202020|-330|53|E93D28-202020|183|70|B3B4B6-202020|150|182|FB5C36-202020|94|225|3F0A61-202020"} i=i+1
自动点击[i]={"自动使用",0,0,0,0,"D7A731-202020","28|13|AD3BB5-202020|-123|9|71299C-202020|-99|14|AE3BB2-202020|-128|-159|252528-202020|-295|-143|E93D28-202020|-295|-2|38D7D5-202020|-301|48|A3F5F0-202020"} i=i+1
while true do
类_图色.刷新屏幕()
if 类_图色.多点找色(自动点击,true) then
print("多点找色测试->"..类_图色.rx..","..类_图色.ry)
else
print("没有找到")
end
sleep(100)
end
|