一个支持无障碍服务的Android平台上的JavaScript IDE
Go to file
2017-10-25 22:46:14 +08:00
.idea add: ui for apk building 2017-10-22 20:04:08 +08:00
app fix: permission issues of inrt 2017-10-25 22:06:09 +08:00
autojs fix: permission issues of inrt 2017-10-25 22:06:09 +08:00
automator fix: crash on notification events 2017-09-25 16:30:09 +08:00
common fix: crash when ScriptListView init 2017-10-21 20:36:45 +08:00
docs@bf1f1544af add: submodule docs 2017-09-11 13:43:48 +08:00
gradle/wrapper Added: Root automator, custom theme color, some helps 2017-03-07 13:49:56 +08:00
inrt fix: permission issues of inrt 2017-10-25 22:06:09 +08:00
screen-captures update readme 2017-10-25 22:46:14 +08:00
.gitignore Added Script file chooser. Fixed the issue that background image setting not working 2017-04-03 16:28:07 +08:00
.gitmodules add: submodule docs 2017-09-11 13:43:48 +08:00
build.gradle apply plugin retrolambda 2017-10-19 15:34:51 +08:00
gradle.properties add: build apk from js file 2017-10-24 15:49:45 +08:00
gradlew Add: floating window, layout inspector 2017-03-12 23:10:58 +08:00
gradlew.bat initial commit 2017-01-27 09:05:38 +08:00
LICENSE.md Update readme and license 2017-05-12 17:46:42 +08:00
Readme.md update readme 2017-10-25 22:46:14 +08:00
settings.gradle make autojs module more independent 2017-07-01 15:09:01 +08:00
version.json i don't know what i did 2017-09-20 14:02:03 +08:00

Auto.js

简介

一个主要由无障碍服务实现的不需要Root权限的类似按键精灵的自动操作软件,可以实现自动点击、滑动、输入文字、打开应用等。

同时有Sublime Text 插件可提供基础的在桌面开发的功能。

下载地址:酷安

Alpha版本Releases

特性

  • 简单易用的自动操作函数
  • 悬浮窗录制和运行
  • 更专业&强大的选择器API提供对屏幕上的控件的寻找、遍历、获取信息、操作等。类似于Google的UI测试框架UiAutomator您也可以把他当做移动版UI测试框架使用
  • 采用JavaScript为脚本语言并支持代码补全、变量重命名、代码格式化、查找替换等功能可以作为一个JavaScript IDE使用
  • 支持使用e4x编写界面并可以将JavaScript打包为apk文件您可以用它来开发小工具应用
  • 支持使用Root权限以提供更强大的屏幕点击、滑动、录制功能和运行shell命令。录制录制可产生js文件或二进制文件录制动作的回放比较流畅
  • 提供截取屏幕、保存截图、图片找色等函数,可进行简单的游戏脚本制作;未来将加入找图功能
  • 可作为Tasker插件使用结合Tasker可胜任日常工作流
  • 带有界面分析工具类似Android Studio的LayoutInspector可以分析界面层次和范围、获取界面上的控件信息

与脚本精灵、按键精灵等软件的区别是:

  • Auto.js主要以自动化、工作流为目标更多地是方便日常生活工作例如启动游戏时自动屏蔽通知、一键与特定联系人微信视频知乎上出现过该问题老人难以进行复杂的操作和子女进行微信视频
  • Auto.js兼容性更好。以坐标为基础的按键精灵、脚本精灵很容易出现分辨率问题而以控件为基础的Auto.js则没有这个问题
  • Auto.js执行大部分任务不需要root权限。只有需要精确坐标点击、滑动的相关函数才需要root权限

尽管如此Auto.js的大部分用户仍然是用来点赞、签到、刷游戏的:)

信息

  • 官方论坛: autojs.org
  • 文档:可在这里查看在线文档。目前文档仍然不完善。
  • 示例:可在这里查看一些示例,或者直接在应用内查看和运行。

截图

screen-capture1

screen-capture2

screen-capture3

screen-capture4

screen-capture5

screen-capture5

screen-capture5

screen-capture5

License

基于Mozilla Public License Version 2.0并附加以下条款:

  • 非商业性使用 — 不得将此项目及其衍生的项目的源代码和二进制产品用于任何商业和盈利用途