{"id":22322975,"url":"https://github.com/asheroto/discordaltf4","last_synced_at":"2025-04-12T10:21:51.656Z","repository":{"id":114848830,"uuid":"345742158","full_name":"asheroto/DiscordAltF4","owner":"asheroto","description":"Press Alt+F4 to close the Discord window instead of exiting the program.","archived":false,"fork":false,"pushed_at":"2021-10-21T06:13:10.000Z","size":19,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T05:12:25.274Z","etag":null,"topics":["alt","altf4","f4","hotkey"],"latest_commit_sha":null,"homepage":"https://git.io/discordaltf4","language":"AutoHotkey","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asheroto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["asheroto"],"ko_fi":"asheroto"}},"created_at":"2021-03-08T17:39:45.000Z","updated_at":"2024-11-25T21:32:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"be7c9b0c-e582-476f-b8ff-e10409fc36ee","html_url":"https://github.com/asheroto/DiscordAltF4","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FDiscordAltF4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FDiscordAltF4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FDiscordAltF4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FDiscordAltF4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asheroto","download_url":"https://codeload.github.com/asheroto/DiscordAltF4/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550770,"owners_count":21122964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alt","altf4","f4","hotkey"],"created_at":"2024-12-04T01:08:56.844Z","updated_at":"2025-04-12T10:21:51.612Z","avatar_url":"https://github.com/asheroto.png","language":"AutoHotkey","funding_links":["https://github.com/sponsors/asheroto","https://ko-fi.com/asheroto","https://ko-fi.com/W7W64WAXN"],"categories":[],"sub_categories":[],"readme":"[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W64WAXN)\n\n# DiscordAltF4\nThis makes it so pressing Alt+F4 in Discord closes the window instead of ending the program.\n\nIf you want to close to system tray, you must have this option enabled:\n- 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*)\n\nThere are no modifications being made to any Discord program. This is simply an [AuotHotkey](https://www.autohotkey.com/) script that detects when Alt+F4 is pressed on an active `Discord.exe` window and closes the window instead. The interaction occurs between User\u003c\u003eWindows and not User\u003c\u003eDiscord.\n\n# Install\n[Download](https://github.com/asheroto/DiscordAltF4/releases/latest/download/DiscordAltF4.exe) and move it into your Startup folder. Then run it.\n\nTo 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.\n\n# Usage\nWith the Discord window active, press Alt+F4. It should close the window instead of ending the program.\n\n# Troubleshooting\nIf Alt+F4 is ending Discord even though `DiscordAltF4.exe` is running:\n- Make sure you are **not** running Discord as Administrator\n- If it's still not working, [check Issues](https://github.com/asheroto/DiscordAltF4/issues) and if you don't find your answer, make a new issue\n\n# Changelog\n- 0.0.1\n  - Initial\n- 0.0.2\n  - Added single instance so multiple copies of the script don't load\n  - Fixed minimizing problem\n\n# Backlinks\n- https://support.discord.com/hc/en-us/community/posts/360058097712-Closing-Discord-with-X-Button-ALT-F4\n- https://support.discord.com/hc/en-us/community/posts/360040720652-Also-close-to-tray-when-Alt-F4-is-pressed-and-the-relevant-setting-is-enabled","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasheroto%2Fdiscordaltf4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasheroto%2Fdiscordaltf4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasheroto%2Fdiscordaltf4/lists"}