Hotkey, IfWinActive, ahk_exe Discord.exe Hotkey, $!F4, Close Close: WinClose