autojs Threads – 多线程
Threads threads.start(action) threads.shutDownAll() threads.currentThread() threads.disposable() threads.atomic([initial...
Threads threads.start(action) threads.shutDownAll() threads.currentThread() threads.disposable() threads.atomic([initial...
Storages storages.create(name) storages.remove(name) Storages Storage.get(key[, defaultValue]) Storage.put(key, value) S...
shell函数 shell(cmd[, root]) Shell new Shell(root) Shell.exec(cmd) Shell.exit() Shell.exitAndWaitFor() Shell.setCallback(c...
Sensors sensors.register(sensorName[, delay]) sensors.unregister(emitter) sensors.unregisterAll() sensors.ignoresUnsuppo...
module (模块) module (模块)# Stability: 2 – Stable Auto.js 有一个简单的模块加载系统。 在 Auto.js 中,文件和模块是一一对应的(每个文件被视为一个独立的模块)。 例子,假...
Media media.scanFile(path) media.playMusic(path[, volume, looping]) media.musicSeekTo(msec) media.pauseMusic() media.res...
Keys back() home() powerDialog() notifications() quickSettings() recents() splitScreen() Home() Back() Power() Menu() Vo...
colors colors.toString(color) colors.red(color) colors.green(color) colors.blue(color) colors.alpha(color) colors.rgb(re...
HTTP http.get(url[, options, callback]) http.post(url, data[, options, callback]) http.postJson(url[, data, options, cal...
全局变量与函数 sleep(n) currentPackage() currentActivity() setClip(text) getClip() toast(message) toastLog(message) waitForActi...