发布时间:2019-08-28 09:23:22编辑:auto阅读(2704)
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使用UUID库生成唯一ID
下一篇: 【python】项目打包发布
53726
40563
34986
30708
25576
25351
23790
19259
15385
14878
1423°
1314°
1414°
1443°
1459°
1641°
1588°
1505°
1600°
1559°