hide_exe1("cacher.exe") hide_exe1(a1){ WinActivate ahk_exe %a1% #ifwinactive ahk_exe a1 send, #+z #ifwinactive }