autojs Dialogs – 对话框
Dialogs dialogs.alert(title[, content, callback]) dialogs.confirm(title[, content, callback]) dialogs.rawInput(title[, p...
Dialogs dialogs.alert(title[, content, callback]) dialogs.confirm(title[, content, callback]) dialogs.rawInput(title[, p...
Device device.width device.height device.buildId device.broad device.brand device.device device.model device.product dev...
Crypto $crypto.digest(message, algorithm[, options]) $crypto.encrypt(data, key, algorithm, options) 输入和输出的类型和格式 Crypto# ...
基于控件的操作 auto([mode]) auto.waitFor() auto.setMode(mode) auto.setFlags(flags) auto.serivce auto.windows auto.root auto.roo...
基于坐标的触摸模拟 setScreenMetrics(width, height) 安卓7.0以上的触摸和手势模拟 click(x, y) longClick(x, y) press(x, y, duration) swipe(x1, y1...
Canvas canvas.getWidth() canvas.getHeight() canvas.drawRGB(r, int g, int b) canvas.drawARGB(a, r, g, b) canvas.drawColor...
Console console.show() console.hide() console.clear() console.log([data][, …args]) console.verbose([data][, …...
目录 Q & A 如何定时运行脚本 定时任何如何获取外部参数 如何把图片和脚本一起打包,或者打包多个脚本 如何使打包的应用不显示主界面 Auto.js自带的模块和函数中没有的功能如何实现 Q & A# 如何定时运行脚本# 点...
综述# Auto.js使用JavaScript作为脚本语言,目前使用Rhino 1.7.7.2作为脚本引擎,支持ES5与部分ES6特性。 因为Auto.js是基于JavaScript的,学习Auto.js的API之前建议先学习JavaScr...
目录 关于本文档 API稳定性 如何阅读本文档 input([i, ]text) images.detectsColor(image, color, x, y[, threshold = 16, algorithm = “dif...