只需一步,快速开始
if CategoryButton1:IsVisible() then BeeRun("/Click CategoryButton1") end
使用道具 举报
function ooxx() if CategoryButton1:IsVisible() then print("按钮存在") end end
lbabey 发表于 2024-7-30 12:18 PM 这个按钮应该是 SF插件形成的, 我能想到的就是这样 [mw_shl_code=lua,true]function ooxx()
if CategoryButton1~=nil then if CategoryButton1:IsVisible() then BeeRun("/Click CategoryButton1") end end
z22904220 发表于 2024-7-30 10:53 PM 类似这样问题可以在前面加个判断 [mw_shl_code=lua,true]if CategoryButton1~=nil then if CategoryB ...
xyaxy001 发表于 2024-8-7 10:24 AM 大佬厉害 不过鉴于 ~= 导出后会有问题,所以我把 CategoryButton1~=nil 想改成 not CategoryButton1==ni ...
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|LUACN论坛
GMT+8, 2025-5-2 02:09 AM , Processed in 0.081715 second(s), 30 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
© 2001-2017 Comsenz Inc.