Codementor Events

AutoHotkey, Python style

Published Nov 28, 2018

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!

Discover and read more posts from Spencer Phillip Young
get started
post commentsBe the first to share your opinion
MajorKusinagi
5 years ago

I almost never comment on tech blogs but I signed up just so I could post that this is a pretty slick idea. Well done!

Show more replies