Hotkey to close Roblox without opening the desktop app

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 :slightly_smiling_face:

2 Likes

Thanks. For me I just close the Roblox tab. The desktop application only opens if you leave an experience, not when you close the launcher tab. Good job though.

1 Like

I usually play in fullscreen so I can’t close it from the taskbar. I’ve been closing it with alt + tab but it gets annoying, and quickly pressing Esc+L+Enter (like I used to be able to do) is so much faster. This hotkey restores that functionality.

Thanks!

1 Like