PAHK
Python library to use the AutoHotkey interpreter in python.
PAHK make possible the use of .ahk (autohotkey script) script within python
in a fully threaded way. It also let python interact with the script at runtime. You might
find it most useful for task involving macro,hotkeys or windows functions
(such as getclipboard data). PAHK only works for windows. Here is an example::
```
#!/usr/bin/env python
from pahk import Interpreter
ahk_interpreter = Interpreter() # Create an ahk interpreter
ahk_script = '^c::MsgBox Hello' #An ahk script. If Ctrl+c is pressed, brings a msgbox
ahk_interpreter.execute_script(ahk_script) # Start a thread in the interpreter that run the script
while 1:
cmd = raw_input('quit