我在哪里可以获得 Autohotkey.dll 库到 运行 Pyahk?

Where can I obtain Autohotkey.dll library to run Pyahk?

Pyahk documentation 说:

A copy of the ANSI 32-bit dll must be provided either in the system location of your version of Windows, or in the same folder as the ahk.py file. (The required dll is not provided as part of this distribution, see the AutoHotKey.dll site for download instructions (alternate link AutoHotKey_H).)

Autohotkey.dll本站不提供任何下载说明。备用 link 不起作用。

我找到了一些 dll here。 Pyahk 无法导入 32 位 dll 版本。我可以在 python 中导入 ahk 而不会出现 64 位 dll 缺少 dll 警告,但是在调用时库会抱怨一些中文字符。

可能我需要自己编译 autohotkey.dll。如果是这样,我更喜欢一种不需要我安装大量编译工具的方法。

您可以在这里找到源代码:https://github.com/HotKeyIt/ahkdll
可以在这里找到版本:https://github.com/HotKeyIt/ahkdll-v1-release

您会发现几个不同的版本(unicode、ansi、64 位、32 位...)。