Nathan Dai
Nathan Dai

Reputation: 502

AutoHotKey - Disable Script in Specific Application

I created an ahk script with a keyboard shortcut. However, I would like to disable the shortcut in a specific application. How would I go about doing that? Thanks.

Upvotes: 0

Views: 602

Answers (1)

You can use under your shortcut command:

if WinActive("APPLICATIONNAME")
    return

Documentation here

Upvotes: 1

Related Questions