sucutey
sucutey
```events.removeAllListeners(eventName)```
1是找控件10秒和2/3是等待10秒后找,超过10秒什么也找不到了,既用超时又不用循环,还想随时找控件? 不用循环的话,还不如直接在方法里面 return pUs.findOne().find()
``` let pm = context.getPackageManager() let apps = pm.getInstalledApplications(0).toArray().map(app => app.loadLabel(pm)); log(apps) ``` 自己动手丰衣足食
和安装应用界面一样 解决方法,上拉快捷中心选择布局范围分析 (没有看到快捷方式的话,在更多里面自己添加) 安装界面丢失悬浮窗  上拉快捷中心分析布局  点击布局分析,没有反应,不管他直接返回,退出安装界面,就可以获取到安装应用界面的控件布局了  获取的布局展示   
无障碍故障时候能成功执行pickup函数并且不报错吗
把日志文件写入本地,关键提示用toast,完美解决(迫真)
可以隐藏啊,你写的什么脚本,非要一直监听日志输出
``` //自己改改吧 var 显示几行日志=6 var 已经存在的日志长度限制=100 _log=log; var window=floaty.rawWindow( ); w=Math.floor(device.width) h=Math.floor(device.height/5) window.setSize(w,h) window.setPosition(0,device.height/2) var 计时函数=function (){ var count=0 return function (){ ui.run( ()=>{window.计时.text(s_to_hs(count)+'')} ) return count++; } }() //计时...
错在list_selector变量那里,for循环里面的```list_xxx.childCount(i)```,会拼接成 ```list_xxx.childCount(0).childCount(1).childCount(2).findOnce()``` 而不是 ```list_xxx.childCount(0).findOnce()``` ```list_xxx.childCount(1).findOnce()``` ```list_xxx.childCount(2).findOnce()```
``` const t =text("text").id("id") for(let i =0;i