随笔分类 - Auto.js
摘要:var storage = storages.create("100000") //本地存储文件建立 storage.put("键名","键值") //向存储中存入数据 storage.get("键名") //通过键名获取数据
阅读全文
摘要:"ui"; ui.layout( <vertical> //垂直布局 <horizontal gravity="center"> //水平布局 </horizontal> <text marginLeft="20" text="文本" textSize="20" textColor="#ffffff
阅读全文
摘要:##launchApp() 通过App名字启动App ##launch() 通过App包名字启动App ##sleep(random(1000,2000)) 等待随机范围内时间 ##toastLog() 短消息 ##text().waitFor() 等待直到找到text内容中的控件 ##descCo
阅读全文