Alt F4
🟡 Updated this yearPreview

🔍 Analysis
- 🏆 #53 of 63 Scripts mods in this game by downloads
📋 About This Mod
Run the .ahk or .exe and ALT F4 will close the game faster.
This also closes RGL:
#SingleInstance, Force
#MaxThreadsPerHotkey 2
!F4:: ; Alt + F4
; Get active window info
WinGet, activePID, PID, A
WinGet, activeProcess, ProcessName, A
; List of all Rockstar processes
rockstarProcesses := ["GTA5.exe", "GTA5_BE.exe", "GTA5_Enhanced.exe", "GTA5_Enhanced_BE.exe", "GTAIV.exe", "PlayGTAIV.exe", "PlayGTAV.exe", "PlayLAN.exe", "PlayMaxPayne3.exe", "PlayRDR.exe", "PlayRDR2.exe", "RDR2.exe", "SocialClubHelper.exe", "RockstarErrorHandler.exe", "RockstarSteamHelper.exe", "RockstarService.exe", "Launcher.exe"]
; Check if the active window belongs to a Rockstar game
isRockstarGame := false
for index, proc in rockstarProcesses
if (activeProcess = proc)
isRockstarGame := true
if (isRockstarGame)
; === If inside a Rockstar game: kill EVERYTHING ===
WinClose, ahk_pid %activePID%
Process, Close, %activePID%
for index, proc in rockstarProcesses
Process, Close, %proc%
; === If NOT in a Rockstar game: just close the active window ===
WinClose, ahk_pid %activePID%
Process, Close, %activePID%
📊 Mod Details
- Game
- GTA5enhanced Mods
- Author
- DeathWrench
- Version
- 1.0
- Downloads
- 40
- Endorsements
- 0
- Category
- Scripts
- Created
- 4/10/2026
- Updated
- 4/10/2026
🔧 How to Install Gta5enhanced Mods
Download from Nexus Mods.
📖 Full step-by-step install guide for Gta5enhanced →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Gta5enhanced commands, item IDs, and more.
Keep browsing — more Gta5enhanced mods await