Write your steps into Excel (or just record them once) and let the computer do the rest — image recognition / window management / OCR / browser automation / workflow orchestration / NetLink multi-device / scheduled tasks / local AI enhancement, all built in.
Latest: (stable) · · 18.0 MiB · SHA-256 30f77941…b64e73
No programming required. Match the task below — every one is backed by built-in templates, sample scripts or dedicated commands.
From "record it once" to "fully automated" — in as little as 3 minutes.
Use the built-in recorder to run through the steps once and generate a script automatically; or write one command per row directly in a .xls sheet — 94 built-in commands, if you can fill a spreadsheet you can write a script.
Just adjust the window title and parameters; if fixed coordinates are unstable, switch to "AI Find Image" and describe the element in plain language, or use OCR "Click Text" to locate by text — small UI changes stay adaptive.
Run immediately, debug with breakpoints, or hand it to the scheduler; you can also distribute scripts in bulk over NetLink to many machines on the LAN.
Real ACRPA screens. Click any image to enlarge.

Commands in column A, parameters in columns B–J — double-click a cell to edit. The script is just a spreadsheet you can rewrite.

Pause / resume / single-step right from the toolbar — when a run goes sideways, freeze it and look.

Four step types — script, parallel, condition, wait — and the connectors are the execution order.

Basic execution / AI enhancement / scheduling / logs / advanced each own a card, saved independently.

Themes switch instantly, easier on the eyes during long overnight runs.
From basic automation to intelligent workflows, ACRPA covers the entire automation stack.
Excel as the script: commands in column A, parameters in columns B–J, no programming needed. Or record a run to generate one, or write Python directly (sandbox / trusted / full privilege levels).
Four ways to locate, each for its own case: image recognition (OpenCV / Pillow, region and grayscale acceleration), window-relative coordinates (10–100× faster), OCR by text, and AI by plain-language description.
Conditions / loops + workflow orchestration (script / parallel / condition / wait step types) + schedules and triggers (daily / weekly / interval / boot / hotkey).
Built-in Playwright: open, click, type, wait for elements, tabs, downloads, cookies and packet capture — chainable with any other step in one script.
NetLink multi-device: one PC monitors many LAN machines in real time, distributes scripts in bulk and controls them remotely, viewable from a phone browser — zero extra dependencies.
Breakpoints / single-step / variable watch / call stack / timing; structured logs, exception handling, stop-on-error and runaway protection — unattended runs still end safely.
See the progress of every machine on the LAN at a glance, run / pause / stop remotely, distribute scripts in bulk, and view it all from a phone browser — built entirely on the Python standard library with zero extra dependencies, a multi-machine control plane rarely found in tools this lightweight.
Device list plus run state, current script, progress (line number / loop count / elapsed time), live log stream and scheduled task status — select a device and see it immediately, no manual subscription needed.
Enter a 6-digit pairing code (valid for 600s by default) to pair. The PIN never travels over the network: a PBKDF2-HMAC-SHA256 derived key plus nonce/HMAC challenge-response is used, and 5 consecutive failures lock the connection. Keys are stored in the Windows credential store, so reconnects after pairing need no PIN.
Run / pause / resume / stop. The controlled machine prompts for confirmation on first control (this device can be remembered). Commands are serialized and acknowledged to all controllers; every remote command and screenshot request is written to the audit log.
Push local .xls / .xlsx / .json files to controlled machines: 64 KB chunking with dual sha256 and size verification on the final frame, leaving no leftover files on failure. Supports bulk delivery to multiple devices and "run right after push".
A built-in single-page panel served by http.server (default port 19712, off by default). Check multi-machine progress and logs straight from a phone or tablet browser; token auth (query string / cookie / bearer) with zero write operations.
Encrypted channel with a self-signed certificate based on the stdlib ssl module; the peer certificate sha256 fingerprint is pinned (TOFU) and mismatches are rejected outright. Off by default, enable as needed.
IP:port manually. Pairing is required by default (6-digit code valid for 600s) and the controlled machine prompts for confirmation on first remote control. The read-only browser panel is off by default and listens on 19712 once enabled; TLS is off by default too.
Device list, current script, line number / loop count / elapsed time and the live log stream, all in one window.
The controlled machine shows a 6-digit code and the controller types it in; the key lands in the Windows credential store, so reconnects skip the PIN.
A built-in read-only panel (port 19712, off by default) — open the address on a phone or tablet to see progress and logs.
94 built-in commands: write one per row in Excel and use them right away (all 94 are listed in the quick reference below, grouped into 9 categories). Click any command or example to copy it. See the README → for full documentation.
| Command | Description | Example |
|---|---|---|
找图 | Search the whole screen for an image; on match, move the mouse to that position (hover) | 找图, hello, 0.9 |
点图 | Find an image and click it, with precision control | 点图, submit, 0.9 |
区域找图 / 区域点图 | Limit the scan region for faster matching, with grayscale acceleration | 区域找图, icon, 0.8, 100,100,500,500 |
坐标 | Click at the given screen coordinates; button, click count and interval are configurable | 坐标, 500, 300, left, 1, 0.1 |
悬停 | Move the mouse to the given coordinates | 悬停, 500, 300 |
按键 / 热键 | Simulate key presses and combinations (Ctrl+C / Ctrl+V and so on) | 热键, ctrl, c |
输入 / 写入 | Paste-style input (unaffected by the IME) or character-by-character simulated typing (DD driver supported) | 写入, Hello, 0.05, auto |
等待 | Delay / wait, supports random ranges (for example 1.0-3.0) | 等待, 1.0-3.0 |
滚轮 / 拖拽 / 相移 | Scroll, drag to given coordinates, or move relative to the current mouse position | 滚轮, -3 |
按下 / 释放 | Hold and release a key to implement press-and-drag and other complex actions | 按下, a |
复制 / 粘贴 | Built-in shortcut combinations (Ctrl+A+C / Ctrl+A+V) | 复制 |
代码 | Execute Python code from a specified txt file (the program built-in libraries can be called) | 代码, my_code |
Python | Execute Python code directly from a cell, subject to permission and AST pre-checks, with the built-in libraries available | Python, ${x}+1, sandbox |
截屏 | Take and save a screenshot; a timestamp is appended to the filename automatically | 截屏, shot, E:/ACRPA/screenshots |
| Command | Description | Example |
|---|---|---|
激活窗口 | Activate the window with the given title; fuzzy matching supported | 激活窗口, Notepad |
关闭窗口 | Close the specified window | 关闭窗口, Untitled - Notepad |
最小化窗口 / 最大化窗口 | Minimize the window to the taskbar / maximize it | 最小化窗口, Calculator |
获取窗口位置 | Get the window coordinates and size and save them to variables | 获取窗口位置, Notepad, x, y, w, h |
等待窗口 | Wait for a window to appear or disappear, with a configurable timeout | 等待窗口, Chrome, 10, exists |
窗口坐标 | Click relative to the window top-left corner; stays accurate even after the window moves ★ | 窗口坐标, Notepad, 100, 50 |
设置窗口样式 | Set a window to stay on top, change its opacity, or hide / show it | 设置窗口样式, Notepad, 200, yes |
| Command | Description | Example |
|---|---|---|
设置变量 | Set a variable value; numbers are converted automatically and ${var} references work throughout | 设置变量, count, 100 |
读取剪贴板 | Read clipboard content into a variable | 读取剪贴板, clip_text |
字符串处理 | Substring / replace operations on strings | 字符串处理, text, substring, 0:5, result |
数学运算 | Perform math calculations; ${var} references are supported | 数学运算, ${x}*${y}+1, sum |
如果 / 否则 / 结束如果 | Conditional branch control flow | 如果, ${count}>10 |
循环开始 / 循环结束 | Loop block, by iteration count or condition expression | 循环开始, 5 |
跳出循环 | Break out of the current loop immediately | 跳出循环 |
| Command | Description | Example |
|---|---|---|
识别文字 | OCR the text in a given screen region and store it in a variable | 识别文字, 0, 0, 800, 300, ocr_text |
等待文字 | Wait for specified text to appear / disappear, with a configurable search region | 等待文字, Submit succeeded, 10, exists |
点击文字 | Find the text position and click it; confidence and search region are configurable | 点击文字, Login now, 0.8 |
| Command | Description | Example |
|---|---|---|
AI找图 | Describe a UI element in natural language; AI analyzes the screenshot and locates it (click / hover / find only) | AI找图, the login button, 0.8, click |
AI识别界面 | AI analyzes all UI elements on the current screen; results are stored in a ${prefix}_elements variable | AI识别界面, ui |
AI优化建议 | AI analyzes historical execution data and gives script optimization suggestions | AI优化建议, log |
Beyond commands, the script editor also provides an [AI] Debug button: ask AI in natural language and it analyzes the execution logs to answer debugging questions.
| Command | Description | Example |
|---|---|---|
运行工作流 | Invoke a workflow file (.json / .yaml) to run multi-script orchestration | 运行工作流, workflow.json |
工作流变量 | Set workflow-level shared variables for use by multiple sub-steps | 工作流变量, var_name, value |
| Command | Description | Example |
|---|---|---|
打开网页 | Open a URL in the built-in browser; suitable for post-login data retrieval, web form filling and similar flows | 打开网页, https://example.com |
浏览器管理 | Open / attach / close a browser session, choosing the browser type, headless mode and a user-data dir (which persists the login state) | 浏览器管理, 打开, Edge, 否, E:/ACRPA/profile |
浏览器点击 | Click a web element by CSS selector or visible text | 浏览器点击, #login-btn |
浏览器输入 | Fill text into the specified input box (located by selector) | 浏览器输入, #username, admin |
浏览器选择 | Pick a dropdown option by label / value / index; non-select controls fall back to clicking | 浏览器选择, #city, 北京, 标签 |
浏览器读取 | Read an element's text / attribute / value / HTML / count / visibility, or the page URL / title, into a variable | 浏览器读取, #price, 文本, price |
等待元素 | Wait for a web element to appear / disappear, with a configurable timeout | 等待元素, .result, 10, 出现 |
浏览器截图 | Save a full-page or specific-element screenshot | 浏览器截图, result, page |
浏览器执行JS / 执行JS | Execute JS in the page and write the return value to a variable (the two names are aliases) | 浏览器执行JS, document.title, title |
浏览器读取Cookie | Export the current context's cookies to a variable or file, in json / header / netscape format | 浏览器读取Cookie, cookie, json |
浏览器设置Cookie | Inject cookies from a variable or file, optionally scoped to a domain | 浏览器设置Cookie, cookie, example.com |
切换框架 / 返回主框架 | Enter an iframe (by locator expression or index), or return to the top-level document | 切换框架, 0 |
新建标签页 | Open a new tab and make it active, optionally navigating to a URL | 新建标签页, https://example.com |
切换标签页 | Switch the active tab by index, title or URL match | 切换标签页, 2 |
关闭标签页 | Close the current tab or the tab at a given index | 关闭标签页 |
等待下载 | Wait for a browser download to finish and save the file, with filename matching, timeout and write-back | 等待下载, E:/ACRPA/downloads, *.xls, 60, file_path |
浏览器上传 | Set local files on an input[type=file] element, several files at a time | 浏览器上传, #file, E:/a.png |
连接已开浏览器 / 接管浏览器 | Take over an already running browser through a CDP endpoint (requires --remote-debugging-port) | 连接已开浏览器, http://127.0.0.1:9222 |
开始监听 | Start queueing network responses (packet capture), with URL matching and resource-type filtering | 开始监听, */api/* |
等待数据包 | Wait for and retrieve matching packets, writing them back to a variable or exporting to disk | 等待数据包, */api/*, 1, 30, resp |
停止监听 | Stop listening and clear the queue | 停止监听 |
启动浏览器录制 | Record web actions with Playwright codegen and append the result to the script as DSL | 启动浏览器录制 |
关闭浏览器 | End the browser session and release the process; the next command relaunches it per your settings | 关闭浏览器 |
浏览器验证码 | Slider-captcha loop: gap offset measurement (gap bounding-box geometry, or grayscale column diff on the background image) + eased dragging + success detection with refresh-and-retry; self-implemented on Playwright + PIL, no OpenCV / OCR component required | 浏览器验证码, #slider, #bg |
Browser commands are implemented on Playwright, installed on demand (about 155 MB, not bundled with the main program); if it is missing, the command shows how to install it. Workflow and web steps can be chained serially in the same script.
| Command | Description | Example |
|---|---|---|
复制文件 | Copy a file or directory (relative paths resolve against the script directory), with overwrite and write-back | 复制文件, data.csv, backup/data.csv, yes |
移动文件 | Move a file or directory; same directory means rename | 移动文件, a.txt, b.txt |
删除文件 | Delete a file or directory; sent to the Recycle Bin by default, falling back to permanent deletion | 删除文件, E:/tmp/old, yes, yes |
创建目录 | Create a directory, including nested levels | 创建目录, E:/ACRPA/out/report |
列出目录 | List directory contents into a variable line by line, with glob and sorting support | 列出目录, E:/ACRPA, *.xls, name, files |
读取文本文件 | Read a text file into a variable, with a fixed or auto-detected encoding | 读取文本文件, note.txt, auto, content |
写入文本文件 | Write a text file atomically, in overwrite or append mode | 写入文本文件, log.txt, ${result}, append, utf-8 |
文件是否存在 | Check whether a file or directory exists; writes 1 / 0 to a variable | 文件是否存在, E:/a.png, exists |
启动程序 | Launch an external program, document or URL; can wait for exit or hide the window | 启动程序, notepad.exe, , , no, no |
结束进程 | Kill a process by name, guarded by a built-in whitelist of critical system processes | 结束进程, notepad.exe, no, yes |
打开系统面板 | Open a system panel from a fixed whitelist (Task Manager / Services / Registry / Control Panel / Device Manager and more) | 打开系统面板, Task Manager |
电源操作 | Shut down / restart / log off / lock / sleep / hibernate, with delay and dry-run support | 电源操作, shutdown, 60, no, yes |
音量控制 | Set, raise or lower the volume, or toggle mute | 音量控制, set, 50 |
磁盘空间 | Query a disk's total / free capacity and usage rate into variables | 磁盘空间, C:, disk_total, disk_free, disk_percent |
| Command | Description | Example |
|---|---|---|
HTTP 请求 | Send an HTTP(S) request; writes the response body and status code to variables, and can save to a file | HTTP 请求, GET, https://api.example.com/data, , , 30, resp, code |
JSON 取值 | Extract a value by path expression from a variable, file or JSON text, with a default fallback | JSON 取值, ${resp}, data.items[0].name, , name |
Base64 编解码 | Base64 encode or decode | Base64 编解码, encode, ${text}, b64 |
URL 编解码 | URL percent-encode or decode | URL 编解码, encode, ${keyword}, url |
哈希值 | Compute the MD5 / SHA1 / SHA256 hash of text or a file | 哈希值, sha256, file, E:/a.exe, hash |
Visual workflow diagram · nodes arranged by drag and drop
Chain several scripts into one pipeline and schedule it visually with a flow diagram.
Script (sequential), parallel (run several sub-steps at once), condition (if/else branch) and wait (delay).
Flow control / mouse / keyboard / recognition / window / file / variable / browser, with search filtering and recent items; double-click to add a node quickly.
Four node types — command / variable / loop / log — share one edit form and support enable-disable, comments, cloning, copy-paste and reordering.
The running node is highlighted live with result tracking; failed nodes are marked red, making debugging direct and efficient.
.json or .yaml (YAML goes through a built-in minimal parser, no pyyaml needed) and invoked with the 运行工作流 command, or run straight from the Workflow tab once the nodes are arranged.Add an API key to unlock four AI capabilities, with a unified model registry covering DeepSeek / Qwen / GPT / Claude.
Describe a UI element in natural language (for example "the login button"); AI analyzes the screenshot, locates it intelligently and clicks or hovers.
After a failure AI analyzes the cause and adaptively adjusts parameters before retrying — smarter than a fixed retry count.
AI continuously watches for abnormal screens and states during a run and warns early, preventing incorrect operations from spreading.
Ask AI directly about logs and execution issues; it analyzes them and returns conclusions plus optimization advice — debugging with no barrier to entry.
Ten built-in snippets whose names, row counts and purposes match the in-app snippet library — insert one, swap the image feature names, coordinates and inputs for your own, and it runs.
Lightweight, fast cold start, small footprint. Available as an install-free exe or run from source.
Packaged as a single-file exe — double-click and go. If OpenCV is unavailable it falls back to Pillow matching automatically, so it stays stable instead of crashing.
dark_mode Light / dark theme switchretry_max / retry_interval Failure retry count and intervalimage_timeout Image match timeout in secondsapi_key / api_model AI key and model selectionuse_dd_driver DD driver high-performance inputminimize_to_tray / mini_bar_enabled Tray residency and collapsible status barsched_enabled / sched_tasks Scheduled task executionlog_level / log_retention_days Log level and retention daysstop_on_error / failsafe Stop-on-error and runaway protectioncheck_update / app_protect Startup update self-check and process guardContinuous iteration, recently focused on the update mechanism, workflow orchestration, AI enhancement and stability. See GitHub Releases → for the full history.
UI design specification v6 shipped: tabs drop the system focus dotted ring and gain a 2 px accent underline; toolbars are grouped by hairline dividers with the destructive group pinned last; the action library uses category icons with full-name tooltips and a search empty state; device/task tables and the script editor share one empty-state pattern; the settings sidebar hierarchy and restart hints were reworked; the help window renders inline Markdown with a solid rule under headings. Workflow "AI Generate" is now purple and a matching "AI Debug" was added, with the debug dialog rebuilt to match the generator panel. Also includes main-window layout and interaction refactors, a dedicated Scheduled Tasks tab and a one-command installer pipeline (build.py --inno).
Focused enhancement of workflow and AI capabilities: four new execution semantics — retry retry / rollback failure compensation / workflow sub-flow references / true-parallel parallel execution; workflow version history and undo/redo; failure context upgraded to a read-only viewer with two-run comparison; AI generation now streams output with token accounting and result caching, and can generate workflow diagrams from natural language; a unified run_id across all channels. The script column structure is unchanged — old scripts, workflows and spreadsheets need no changes.
UI polish (expanded palette / flat buttons with focus rings / log-level badges); a persistent bottom log panel with an execution control toolbar; settings window refinements and an OCR status line; optional PaddleOCR.dll native OCR backend; a single source of truth for AI key availability and normalized AI generation; version number shown in the window title.
Rebuilt on the v0.1.25 baseline to fix the unstable wiring introduced in v0.1.26: an undefined _update_pending made _periodic throw a NameError every 100 ms, which broke the status-bar and execution-progress refresh path and prevented the update flag from being set; and an unimported show_update_dialog made the status-bar update entry point dead on click. All v0.1.26 improvements are retained: the reworked update mechanism (multi-source fallback / semantic version comparison / sha256 verification / one-click restart self-update for the portable build / fixed version source for the packaged build), engine-level command failure semantics with workflow error propagation, and the release toolchain with build assets under management.
Update mechanism reworked: fixed the distorted version number after packaging (the EXE always reported an old version, breaking update checks and the About page entirely). Update checks now use multi-source fallback (GitHub Releases → raw manifest → CDN mirror) and return as soon as one source works; if a source reports a version that is not new enough, the remaining sources are probed and the highest is taken, so a stale mirror cache or a network glitch no longer yields a false "already up to date". Version comparison handles the v prefix, uneven segment counts and pre-release suffixes. Network transport is dual-stack (requests → system certificate store), fixing silent failures behind corporate TLS interception. Downloads retry multiple candidate direct links one by one, stream progress, verify sha256 and size, and re-check the VERSION inside the package, switching source automatically when a mirror serves an old package. A new in-app update window and one-click restart self-update for the portable build replace only the main program and VERSION — config, scripts, templates and logs are never touched. Also fixed "command failure silently reported as success" together with the broken stop_on_error and retry behaviour.
Deep customization of the Workflow tab: categorized action tree with search and recent items; new command / variable / loop / log nodes sharing one configuration form, with right-click copy / paste / disable / comment; control over outer loop count and maximum execution time; execution highlighting and variable management; centrally managed version numbers.
New Advanced Settings page (maximum execution time / globally bound window / recording mode / OCR backend / headless browser and more); every settings card gets its own "Apply ✓"; the model dropdown now uses a unified registry (DeepSeek / Qwen / GPT / Claude); fixed the DD DLL path not taking effect and the wrong Claude endpoint mapping.
Template picker dialog switched to a top-bottom layout; exception protection when toggling the tray; a "restore defaults" button; fixed issues such as the script not loading after recording and the card_log variable name collision.
Structured logging upgrade (log levels / timestamps / daily rotation / automatic cleanup); settings page rebuilt as six independent cards; a record button added to the script editing toolbar.
System tray icon with balloon notifications and a context menu; Mini Bar collapsed mode (a floating always-on-top status strip) that is draggable, follows the theme and updates its status live.
Visual workflow diagram (nodes + connectors + drag and drop); window-relative coordinate system; recording enhancements (drag / scroll / window activation); improved conditional breakpoint UI and LRU eviction for the image cache.
AI enhancement module released: visual localization (AI find image / AI inspect UI), smart retry, anomaly detection, flow optimization suggestions and natural-language debugging.
OCR text recognition commands, a script marketplace panel, debugger enhancements (execution timing / skip line / run to cursor / in-place variable editing) and package size optimization.
Integrated the DD driver high-performance input backend; unified shutdown cleanup; AI generator and template improvements; more complete documentation for image/color recognition and OCR.
The hardest question for an automation tool is "should I dare install it?". ACRPA answers with: open source, local, install-free.
A few things you may want to know before downloading.
Questions, ideas, or want to contribute? Get in touch with the author.


yoho12138@aliyun.com682075338