AutoHotkey, Python style

AutoHotkey (AHK) is a popular automation scripting language. Years ago, this was part of my automation toolbelt. Whether it was for making video game bots or business productivity.

Fast-forward to this month. I came across a usecase where AHK would fit nicely. As I began writing some scripts, I lamented over the syntax and peculiar nature of matching modes, directives. I just wished I could have been writing the solution in Python. So, I then set out to make a Python wrapper for AHK.

At first, I was not very sure if this could even work; in fact, I was downright convinced it was a bad idea but, channeling my inner David Beazley, I ventured forth anyhow. A few hours in and I am quite thrilled with the results.

autohotkey.gif

It’ll be interesting to see where it goes. You can install this project using pip

pip install ahk

Contributions welcome!