Skip to content

asheroto/DiscordAltF4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release GitHub Release Date - Published_At GitHub Downloads - All Releases GitHub Sponsor Ko-Fi Button

DiscordAltF4

This makes it so pressing Alt+F4 in Discord closes the window instead of ending the program.

If you want to close to system tray, you must have this option enabled:

  • Open Discord and go to User Settings (the gear next to your name), Windows Settings, and enable Minimize to Tray (which should actually be labeled Close to Tray)

There are no modifications being made to any Discord program. This is simply an AuotHotkey script that detects when Alt+F4 is pressed on an active Discord.exe window and closes the window instead. The interaction occurs between User<>Windows and not User<>Discord.

Install

Download the latest EXE from Releases and move it into your Startup folder. Then run it.

To get to the Startup folder, press Win+R which will open Run, then type shell:startup and press enter. The Startup folder contains programs that will automatically run when you log on.

Version Difference

AutoHotkey released version 2, which introduces syntax changes from version 1. Both versions of this script are included and function the same.

Usage

With the Discord window active, press Alt+F4. It should close the window instead of ending the program.

Troubleshooting

If Alt+F4 is ending Discord even though DiscordAltF4.exe is running:

  • Make sure you are not running Discord as Administrator
  • If it's still not working, check Issues and if you don't find your answer, make a new issue

Backlinks

About

Press Alt+F4 to close the Discord window instead of exiting the program.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

  •