Skip to content
forked from clearw5/Auto.js

A UiAutomator on android, does not need root access(安卓平台上的JavaScript自动化工具)

License

Notifications You must be signed in to change notification settings

darkspr/Auto.js

 
 

Repository files navigation

Auto.js

中文文档

Important!!

The open source version of Auto.js is no longer maintained (see Auto.js Pro FAQ for the reason), and only Auto.js Pro Professional Edition, for more information, see Auto.js Pro Documentation and Auto.js Pro Features.

Introduction

The documentation is translated by Google Translation.

A JavaScript IDE on the Android platform that supports accessibility services, and its development goals are JsBox and Workflow.

At the same time, there is VS Code Extension which can provide basic functions for desktop development.

Download link: Coolapk

Alpha version: Releases

Official document: https://hyb1996.github.io/AutoJs-Docs/

Features

  1. Easy-to-use automatic operation functions implemented by accessibility services
  2. Floating window recording and running
  3. More professional & powerful selector API, which provides searching, traversing, obtaining information, and operating the controls on the screen. Similar to Google’s UI testing framework UiAutomator, you can also use it as a mobile UI testing framework
  4. Use JavaScript as the scripting language, and support functions such as code completion, variable renaming, code formatting, search and replacement, and can be used as a JavaScript IDE
  5. Support the use of e4x to write the interface, and JavaScript can be packaged as an apk file, you can use it to develop small tool applications
  6. Support the use of Root permissions to provide more powerful screen click, slide, record functions and run shell commands. Recording can generate js files or binary files, and the playback of recording actions is relatively smooth
  7. Provides functions such as screen capture, screenshot saving, picture color finding, picture finding, etc.
  8. Can be used as a Tasker plug-in, combined with Tasker can be competent for daily workflow
  9. With interface analysis tools, similar to Android Studio's LayoutInspector, it can analyze the interface level and scope, and obtain control information on the interface

This software is different from software such as button wizard, the main differences are:

  1. Auto.js mainly aims at automation and workflow. It is more convenient for daily work, such as automatically blocking notifications when starting the game, one-click and WeChat video of specific contacts (this problem has occurred on Zhihu, it is difficult for the elderly Perform complex operations and children’s WeChat video) etc.
  2. Auto.js has better compatibility. The coordinate-based button sprites and script sprites are prone to resolution problems, while the control-based Auto.js does not have this problem.
  3. Auto.js does not need root permissions to perform most tasks. Only related functions that require precise coordinates to click and slide require root privileges
  4. Auto.js can provide functions such as interface writing, not only exists as a scripting software

Information

  • Official forum: autojs.org
  • Documentation: You can view the online documentation here. The current documentation is still incomplete.
  • Examples: You can view some examples here, or view and run them directly in the app.

Screenshot

screen-capture2

screen-capture5

screen-capture5

screen-capture5

License

Based on Mozilla Public License Version 2.0 with the following terms attached:

  • Non-commercial use-The source code and binary products of this project and its derivative projects must not be used for any commercial and profitable purposes

About

A UiAutomator on android, does not need root access(安卓平台上的JavaScript自动化工具)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 50.7%
  • HTML 35.0%
  • JavaScript 8.8%
  • Kotlin 5.3%
  • CSS 0.2%