随笔分类 - auto.js
摘要:close_llk(); // toast("开始运行"); // while (true) { // sleep(200); // let img = images.captureScreen(); // let color = images.pixel(img, 410, 615); // //
阅读全文
摘要:auto.waitFor(); threads.start(function () { images.requestScreenCapture(); }); while (!click("立即开始")) { }; app.launchApp("支付宝"); sleep(1500); click("蚂
阅读全文
摘要:toast("start!!"); device.keepScreenOn(); auto.waitFor(); // console.show(); // console.setPosition(0, 0); events.observeNotification(); events.onNotif
阅读全文
摘要:auto.waitFor(); while(!launchApp("抖音极速版")){} // let a = scrollable(true).find(); // log(a.size()); // log(a[3].depth());P // a[3].scrollForward(); //
阅读全文
摘要:importClass(android.content.Context); importClass(android.provider.Settings); try { var Services = "org.autojs.autojs/com.stardust.autojs.core.accessi
阅读全文
摘要://打开应用 app.launchApp("微信"); //设置延迟时间(毫秒) sleep(1000); //点击坐标 (x, y) click(898,187); //输入文本 setText("哇哇哇");//滑动窗口swipe(x1,y1,x2,y2,distance);//返回back()
阅读全文