Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
events.observeKey(); events.on("key", function(code, event) { if (event.getAction() == event.ACTION_UP) { toast("结束") exit() } }); for (i = 0; i < 7; i++){ toast("哈哈") sleep(3000)} 各位大佬,我想用这个实现音量下键停止所有脚本,可是以上代码无效
events.observeKey(); events.onKeyDown("volume_down", ()=>{ engines.stopAll(); }); //这就是音量下键停止所有脚本
与 Auto.js 的连接断开,我们正在尝试重连,请耐心等待