一键导入
windows-automation
Best-in-class Windows automation using Python (UI Automation) and AutoHotkey.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Best-in-class Windows automation using Python (UI Automation) and AutoHotkey.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Essential file system operations.
Common Git version control operations.
Upload, download, and edit files on remote servers via NAVIG
Summarize web pages, articles, YouTube videos, and documents using AI
Query and manage databases on remote servers via NAVIG
Check GitHub repos, CI status, PRs, and issues using the gh CLI
| name | windows-automation |
| description | Best-in-class Windows automation using Python (UI Automation) and AutoHotkey. |
| metadata | {"navig":{"emoji":"🪟","requires":{"bins":["python","ahk","powershell"],"libs":["pyautogui","pillow"]}}} |
The ultimate toolkit for controlling Windows. Combines robust UI inspection (reading text/buttons directly) with global hotkeys (AHK) and vision (screenshots).
| Task | Command | Precision |
|---|---|---|
| Click Button | python scripts/click_text.py "Save" | High (No coords needed) |
| Read Text | python scripts/read_window.py "Chrome" | High (Direct API) |
| Global Media | navig ahk send "{Media_Play_Pause}" | 100% |
| Type Text | python scripts/type_text.py "Hello" | High |
| Screenshot | python scripts/screenshot.py | Visual only |
Uses Windows Accessibility API - Fast & Accurate
# List all windows
python scripts/list_windows.py
# Handle a popup dialog
python scripts/handle_dialog.py dismiss
# Read all UI elements (buttons, links) in a window
python scripts/read_ui_elements.py "Chrome" --json
# Click by text name (Best method!)
python scripts/click_text.py "Submit"
# Focus specific window
python scripts/focus_window.py "Code"
System-wide overrides via NAVIG's AHK integration
# Multimedia Keys
navig ahk send "{Volume_Mute}"
navig ahk send "{Media_Next}"
# Window Management
navig ahk activate "Visual Studio Code"
navig ahk maximize "A" # Active window
Fallback methods using coordinates
# Click at specific pixels
python scripts/click.py 500 300
# Screenshot to stdout (Base64)
python scripts/screenshot.py > capture.b64
All scripts are located in scripts/.
click_text.py: Finds and clicks text elements.read_window.py: dumps window text content.handle_dialog.py: Interacts with standard Windows dialogs.type_text.py: Simulates keyboard input.click_text first: It works even if the window is moved or resized.read_window: It sees text that screenshots might miss (or requires OCR).