Skip to content

Instantly share code, notes, and snippets.

@connorjan
Last active October 11, 2024 20:32
Show Gist options
  • Save connorjan/8481857082555f33add0acd529692e56 to your computer and use it in GitHub Desktop.
Save connorjan/8481857082555f33add0acd529692e56 to your computer and use it in GitHub Desktop.
Block Discord from opening the Soundboard quick select menu when in a game even if you have the overlay enabled.
#Requires AutoHotkey v2.0
; Prevent hotkeys from triggering themselves
#UseHook
^`:: {
ControlSend("^``", WinActive("A"))
}

Pressing Ctrl + ` while in a fullscreen game while the Discord Overlay is enabled will open up the Discord soundboard quick select menu. There is seemingly no way to change this keybinding within Discord, so this AHK script will prevent Discord from snooping this key input and only allow the currenly active window to see it.

If you want to use Ahk2Exe, here is an icon you can convert to an .ico file and use: https://i.imgur.com/v8DFETC.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment