Skip to content

Instantly share code, notes, and snippets.

EnvGet, ProgramFiles32, ProgramFiles(x86)
EnvGet, ProgramFiles64, ProgramFiles
if (!ProgramFiles32)
ProgramFiles32 := ProgramFiles64
; ************************************************************************************************************************************************************
; Run/show/hide KeePassXC using Win+K
;
#k::
if (WinExist("ahk_exe KeePassXC.exe") && WinActive("ahk_exe KeePassXC.exe"))