autojs 介绍

AutoJS 类似于按键精灵,它是 Android 平台上的一款自动化工具,它通过编写 JavaScript 脚本,结合系统的无障碍服务对 App 进行自动化操作。

github开源地址:https://github.com/SuperMonster003/AutoJs6/

qq刷屏案例代码

"auto";
var cs = rawInput("请输入刷屏次数");
if (cs <= 0) {
    toast("刷屏次数不能少于或等于0");
} else {
    toast("请打开聊天界面!");
    while (0 < cs) {
        while (!input("hello world"));
        while (!click("发送"));
        cs--;
    }
    toast("刷屏完成!");
}

2024-03-27T01:36:37.png

autojs 相关文档

发表评论