AutoHotKey - 在特定应用程序中禁用脚本

AutoHotKey - Disable Script in Specific Application

我用键盘快捷键创建了一个 ahk 脚本。但是,我想在特定应用程序中禁用快捷方式。我该怎么做呢?谢谢。

您可以在您的快捷命令下使用:

if WinActive("APPLICATIONNAME")
    return

Documentation here