Device Connection
How to connect
- Enter the device address in the IP field (format
192.168.x.xor127.0.0.1) and press Enter to connect - It auto-connects 1 second after a full IP is entered; you can also click the connection status area on the right to reconnect manually
- On success the status light turns green and shows "Connected"; on disconnect it turns red and reconnects automatically
Emulator user? You first need to hook the emulator in with the ADB tool on your PC before the editor can connect. See Device Connection → (emulator connection / phone wireless / troubleshooting)
Run buttons
- ▶ Run Project F5 — packages the whole project, pushes it to the phone and runs it
- ▶ Run Script F7 — pushes only the current
script.luato the phone and runs it; click again to stop
Tool toggles
- ◉ Capture Helper — opens the screenshot / color-picking panel on the right
- ☰ Log — opens the log panel at the bottom (console / script output)
Settings menu ⚙
- Theme — dark / light
- Language — 中文 / English
- Font zoom — enlarge / shrink / reset the code font size
File Tree — Project Management
Project actions
- The 📁 project title shows the current project name and file count; a ● on the right means unsaved changes
- Right-click the project title for: New File / New Folder / Rename / Export / Close / Delete
- Top buttons: ➕ new project, 📂 open an existing project
File actions
- Click a file to open it in the editor (supports text files like
.lua.aly.txt) - Hover over an image file to preview it; clicking does not open it
- Right-click a file for: Rename / Copy File Name / Copy File / Export / Delete
- Shortcut Ctrl+Alt+N creates a new file
Folder actions
- Click the ▸ next to a folder name to expand / collapse it
- Right-click a folder for: New File / New Folder — files go under that folder automatically
- Nesting is shown by indentation; files inside subfolders are indented automatically
Tabs
- Opening multiple files shows a tab bar at the top; click to switch
- A ● on a tab means the file has unsaved changes
- Right-click a tab for: Close Others / Close All
Code Editor
- Uses the same editor core as VS Code, with Lua syntax highlighting, auto-completion and error hints
- As you type, completions pop up: Lua keywords, AutoLua functions and common snippets
- Syntax errors are marked in real time with a red wavy underline
- Ctrl+S save project · Ctrl+P search files · F1 shortcut help
- Hold Ctrl and scroll the mouse wheel to zoom the font in and out
Log Panel
- Two tabs: Console (system messages / push status) and Script (
printoutput from the phone-side script) - The script log is cleared automatically when a script runs
- Right-click the log area to export or clear it
Capture Helper — Screenshot & Color Picking
Screenshot
- Click Capture to grab the current screen from the phone
- Supports loading a local image for offline analysis
- You can marquee-select and crop within the screenshot
Color picking
- Click a point on the screenshot to record its coordinates and color value
- Hold ↑↓←→ to move the pick point pixel by pixel, Enter to confirm
- The data table shows: coordinates / color / RGB
- Click a coordinate to edit it manually, press Enter to confirm (comma-separated supported)
- After checking data points you can copy the command or insert into the editor, auto-generating code like
CmpColorEx/FindMultiColor
Project Import & Export
- Export: right-click the project title → Export, saved as an
.alpfile - Import: drag and drop an
.alpfile onto the editor page to open it - Projects are auto-saved to the browser's local storage every 5 minutes
If there are unsaved changes, you'll be prompted before closing the page; with no changes it closes without bothering you.
Common Shortcuts
| F5 | Run / stop project |
| F7 | Run / stop current script |
| Ctrl+S | Save project |
| Ctrl+P | Search and open a file |
| Ctrl+Alt+N | New file |
| F1 | Shortcut help |