http://www.autohotkey.com/forum/topic53773.html
Q:I am searching for is a way to execute AHK commands from a Python script. Is this possible?
A:Yes. Here is an example.
tested with python2.6, requires AutoHotkey.dll in the working directory or path...
ahkpython.ahk:
ahkpython.py
remarks:
create_string_buffer is required because autohotkey.dll exported functions do not work with unicode.
See HotkeyIt's excellent chm help file for documentation on the functions.
本文展示了如何通过Python脚本执行AutoHotkey命令,包括实现与AutoHotkey DLL的交互,通过DLL调用Python回调函数,并提供了一个示例脚本来演示整个过程。

2539

被折叠的 条评论
为什么被折叠?



