#696 · Primary category: AI Agents & Automation

ahk

ahk-script asyncio autohotkey automation python windows

Python wrapper for AutoHotkey with full type support. Harness the automation power of AutoHotkey with the beauty of Python.

Project last updated:08/17/26

GitHub Stars

1.0K

Forks

73

Contributors

12

License

MIT

Why we included this project

Python developers who need to drive the Windows desktop can use this library to reach AutoHotkey through a typed, Pythonic API instead of writing raw AHK scripts. It handles the usual automation chores: moving and clicking the mouse, sending keystrokes, managing windows by title or PID, reading the clipboard, and registering hotkeys and hotstrings that trigger Python callbacks. That makes it a solid building block for repetitive GUI workflows, UI test driving, or folding desktop control into a larger automation pipeline. It works with both AutoHotkey v1 and v2 and includes an asyncio API for non-blocking use, so it suits quick scripts as well as longer-running automation services. Teams already working in Python who want to touch the Windows desktop without maintaining a separate AHK codebase will find it a clean fit.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category