Run python3 -m autoxjs -h to learn how to use this package in the console.
The default config is for ozobi's modified AutoX.js version. For Auto.js and old versions of AutoX.js, running python3 -m autoxjs -c intent_component org.autojs.autojs/.external.open.RunIntentActivity to change the package name may be necessary.
In other environments such as QPython 3, Pydroid 3 and AidLux, changing config items am_command, am_subcommand, am_user and temporary_path may be necessary.
In new versions of Termux, config items above can also be modified to use termux-am-socket instead of the slow termux-am.
Use import autoxjs or from autoxjs import * to import this library in your script.
The autoxjs.runString function is used to simply run a JavaScript in a string.
The autoxjs.runFile function is used to run JavaScript files.
The autoxjs.runAutoFile function is used to run Auto.js and AutoX.js recording files.
The autoxjs.Context class is used to call JavaScript codes like RPC.
The autoxjs.requestAutomation function can request the automation service.
The autoxjs.EventProxy class is used to emit and listen to broadcasts in Auto.js and AutoX.js.
The autoxjs.emitEvent function is used to simply emit broadcasts into Auto.js and AutoX.js.
The autoxjs.forceStop function can force stop running scripts.
The autoxjs.Location, autoxjs.Recorder and autoxjs.Sensor classes were written as routines, but can also be used as a module. Thus, they can be used to access the hardware in the device.
The autoxjs.compressScript function can be used to compress long JavaScript codes, making RPC calling faster.
The autoxjs.bindAvailablePort function can be used to bind a socket server to a port within the customized range.
The autojs.injector.startServer and autojs.injector.stopServer functions are used to manage the RPC server of the autojs library, in order to allow users not to have to start it manually. This library doesn't depend on it, so if you don't use it, just ignore it.
Release files for AutoxJS 1.0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autoxjs-1.0.19.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autoxjs-1.0.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:37.9 kB
Release files / autoxjs-1.0.19.tar.gz
| Download URL | autoxjs-1.0.19.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e59098c510cfcaac774e150b32d28471b29828a2aa850c6c362df627d6980ca6
|
|
BLAKE2b-256 checksum How to use checksums |
007919ebba5207bfd33fb5bca482cc2abcb0565f203ab2ca0bad4a53436169a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / autoxjs-1.0.19-py3-none-any.whl
| Download URL | autoxjs-1.0.19-py3-none-any.whl |
|---|---|
| Size | 22.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e18aa6ef7fc0a828653458a198a4bd19db05d6e37aa0af940c73ce93b0e27405
|
|
BLAKE2b-256 checksum How to use checksums |
aa911af679c93e1e353d87f741273f4ecf8452fb101ce8c71a7e7b14f03b75a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|