首页 > 其他分享 >autojs

autojs

时间:2022-09-07 17:33:53浏览次数:71  
标签:unlock autojs sleep var password 500

function unlock() {
    if (!device.isScreenOn()) {
        device.wakeUp();
        sleep(500);
        swipe(500, 2000, 500, 1000, 210);
        sleep(500)
        var password = "00000" //这里输入你手机的密码
        for (var i = 0; i < password.length; i++) {
            var p = text(password[i].toString()).findOne().bounds();
            click(p.centerX(), p.centerY());
            sleep(100);
        }
    }

}
unlock()

  手机解锁

标签:unlock,autojs,sleep,var,password,500
From: https://www.cnblogs.com/xupanfeng/p/16666632.html

相关文章