overview
I have nothing to do recently, and I am interested in AutoJS automation. I used this research and recorded it here
Install
Download the tutorial (temporarily found address, inconsistent with the screenshot) : https://www.bilibili.com/read/cv19626959
app installation
connect computer
vscode plugin download Auto.js-VSCodeExt
View AutoJS commands
ctrl + shift + p
Explanation: mainly the following two
- Start Server: Start the server project to achieve the effect of joint debugging of app and code.
- New Project: Create an AutoJS project.
vscode starts AutoJs service
Select Auto.js: Start Server
App AutoJS connects PC-side AutoJS client
- View the IP address of the PC (open CMD on the PC)
ipconfig
2. APP connection
- PC vscode connection success prompt
test
Run F5 to start
Summarize
Next AutoJS 4.1.0 Practical Benefits