A framework for creating better, faster and shorter AutoTouch scripts
- Free software: MIT License
- Documentation: https://sentrip.github.io/AutoTouchPlus/
- Screen watching and advanced interaction
- Web requests and JSON parsing
- Unit-testing framework based on Python's pytest
- Functions for system and file operations
- Logging utilities for selective logging
- Object orientation (classes and inheritance)
- Python's list, dict and set objects
- Many of Python's builtins (such as map, filter, sorted, reversed, ...)
- Context managers, with statement, exceptions and exception-handling similar to Python
To install AutoTouchPlus, there are 3 methods. For ease of installation and usage, all of the modules in AutoTouchPlus are compiled into a single file - "AutoTouchPlus.lua" - that can be imported. When installed just run "tests.lua" to ensure everything works and you're ready to go!
- Copy the raw text from install.lua and paste it into a new script in AutoTouch.
- Save and run the script, and you're ready to go!
Run the following commands on your computer (requires scp installed on your device)
git clone https://github.com/sentrip/AutoTouchPlus.git
cd AutoTouchPlus
./dev.py install -ip YOUR.PHONES.IP.ADDRESS
- Download AutoTouchPlus.lua and tests.lua from the latest release
- Copy AutoTouchPlus.lua and tests.lua to /var/mobile/Library/AutoTouch/Scripts/
To use AutoTouchPlus, simply import it at the beginning of your script:
require("AutoTouchPlus")
-- lets print some nested objects!
print(str(list{1, 2, (','):join{'a', 'b'}, sorted(list{5, 4, 3})}))