Skip to content

Instantly share code, notes, and snippets.

@cweijan
Created August 24, 2022 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cweijan/47def00faf55b999638eec8a07d7e267 to your computer and use it in GitHub Desktop.
Save cweijan/47def00faf55b999638eec8a07d7e267 to your computer and use it in GitHub Desktop.
#NoTrayIcon
#SingleInstance force
#e::
if(WinActive("AHK_Class CabinetWClass")){
run "C:\Windows\explorer.exe"
Return
}
if(WinExist("ahk_class CabinetWClass")){
WinActivate,ahk_class CabinetWClass
return
}
run "C:\Windows\explorer.exe"
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment