

f ( 'WinActive', 'ahk_class Notepad' ) # built-in variables (and user globals) can be set directly ahk. ) get(var) set(var, val) from ahkunwrapped import Script ahk = Script () # built-in functions are directly callable isNotepadActive = ahk. Persistent Windows notification area settings.Ĭall(proc.Descriptive errors with accurate line numbers.


Warnings for loss of precision (maximum 6 decimal places).Hypothesis powered testing of convoluted unicode, et al.Execute arbitrary AHK code or load scripts.Instead, we bundle and bridge AutoHotkey.exe, sending your initial script via stdin with minimal boilerplate to listen for window messages from Python and respond via stdout. I wanted to automate Windows with the coverage and simplicity of the complete AutoHotkey API, yet code in Python, so I created ahkUnwrapped.ĪutoHotkey already abstracts the Windows API, so another layer to introduce complexity and slowdowns is undesirable.
