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