How To Run An Autohotkey Script In Python (2.7)
I'm trying to run an autohotkey (ahk) script in Python 2.7 but nothing seems to work. All online sources I've found are either outdated or overly complicated. Has anyone found a wa
Solution 1:
It seems like you should be able to just launch autohotkey with the script as a parameter using subprocess
:
subprocess.call(["path/to/ahk.exe", "script.ahk"])
You'd have to check the autohotkey docs but this seems like it ought to work.
Post a Comment for "How To Run An Autohotkey Script In Python (2.7)"