autojs Engines – 脚本引擎
Engines engines.execScript(name, script[, config]) engines.execScriptFile(path[, config]) engines.execAutoFile(path[, co...
Engines engines.execScript(name, script[, config]) engines.execScriptFile(path[, config]) engines.execAutoFile(path[, co...
Files files.isFile(path) files.isDir(path) files.isEmptyDir(path) files.join(parent, child) files.create(path) files.cre...
目录 Q & A 如何定时运行脚本 定时任何如何获取外部参数 如何把图片和脚本一起打包,或者打包多个脚本 如何使打包的应用不显示主界面 Auto.js自带的模块和函数中没有的功能如何实现 Q & A# 如何定时运行脚本# 点...
综述# Auto.js使用JavaScript作为脚本语言,目前使用Rhino 1.7.7.2作为脚本引擎,支持ES5与部分ES6特性。 因为Auto.js是基于JavaScript的,学习Auto.js的API之前建议先学习JavaScr...
Device device.width device.height device.buildId device.broad device.brand device.device device.model device.product dev...
Sensors sensors.register(sensorName[, delay]) sensors.unregister(emitter) sensors.unregisterAll() sensors.ignoresUnsuppo...
module (模块) module (模块)# Stability: 2 – Stable Auto.js 有一个简单的模块加载系统。 在 Auto.js 中,文件和模块是一一对应的(每个文件被视为一个独立的模块)。 例子,假...
shell函数 shell(cmd[, root]) Shell new Shell(root) Shell.exec(cmd) Shell.exit() Shell.exitAndWaitFor() Shell.setCallback(c...
Crypto $crypto.digest(message, algorithm[, options]) $crypto.encrypt(data, key, algorithm, options) 输入和输出的类型和格式 Crypto# ...
Keys back() home() powerDialog() notifications() quickSettings() recents() splitScreen() Home() Back() Power() Menu() Vo...