Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
/ pahk Public archive

Python AutoHotKey module allowing Python to run AutoHotKey Code. Orignally by Gabriel Dube

Notifications You must be signed in to change notification settings

MrSimonC/pahk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAHK

This module combines Python and AutoHotKey, originally written by Gabriel Dube (whom I've never met, but am exceptionally grateful to for writing this), hosted on Google code archive. See this archive page for full details on pahk.

Install

Extract the zip files, the use python setup.py install to install, or manually put pahk.py, AutoHotkey.dll in Python/Lib/site-packages.

The zip files are the original hosted on Google code archive, but the pahk.py file I've edited to allow it to be used when freezing code with pyinstaller. Simply include AutoHotKey.dll in your .exe directory after freezing.

Usage

import pahk
ahk_code = 'MsgBox Hello World!'
ahk_interpreter = pahk.Interpreter()
ahk_interpreter.execute_script(ahk_code)

About

Python AutoHotKey module allowing Python to run AutoHotKey Code. Orignally by Gabriel Dube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages