autojs Device – 设备
Device device.width device.height device.buildId device.broad device.brand device.device device.model device.product dev...
Device device.width device.height device.buildId device.broad device.brand device.device device.model device.product dev...
shell函数 shell(cmd[, root]) Shell new Shell(root) Shell.exec(cmd) Shell.exit() Shell.exitAndWaitFor() Shell.setCallback(c...
Dialogs dialogs.alert(title[, content, callback]) dialogs.confirm(title[, content, callback]) dialogs.rawInput(title[, p...
Storages storages.create(name) storages.remove(name) Storages Storage.get(key[, defaultValue]) Storage.put(key, value) S...
目录 关于本文档 API稳定性 如何阅读本文档 input([i, ]text) images.detectsColor(image, color, x, y[, threshold = 16, algorithm = “dif...
Engines engines.execScript(name, script[, config]) engines.execScriptFile(path[, config]) engines.execAutoFile(path[, co...
Threads threads.start(action) threads.shutDownAll() threads.currentThread() threads.disposable() threads.atomic([initial...
综述# Auto.js使用JavaScript作为脚本语言,目前使用Rhino 1.7.7.2作为脚本引擎,支持ES5与部分ES6特性。 因为Auto.js是基于JavaScript的,学习Auto.js的API之前建议先学习JavaScr...
Events events.emitter() events.observeKey() events.onKeyDown(keyName, listener) events.onKeyUp(keyName, listener) events...
Timers setInterval(callback, delay[, …args]) setTimeout(callback, delay[, …args]) setImmediate(callback[, ...