As you know Roblox is a big mean and forces the desktop app to open whenever you leave a game. The only way to close Roblox without opening the app is using Alt+F4. So I made an AutoHotKey script that triggers Alt+F4 when Roblox is active and you press Escape+L+Enter simultaneously.
How to use:
- Download Autohotkey v2
- Create a new AutoHotKey script (.ahk)
- Paste script inside
ahk script
#HotIf WinActive("Roblox")
$Enter::
{
if (GetKeyState("Escape") && GetKeyState("l")){
Send("!{F4}")
} else {
Send("{Enter}")
}
}
- Right click the .ahk file > Show more options > Compile Script
- Press win+r and run shell:startup and place the .exe inside (This will make it run when Windows starts)
- Run the .exe
To use, just press Escape + L + Enter at the same time (make sure to press enter last)
Enjoy