Skip to content

Instantly share code, notes, and snippets.

@d4rkcat
Last active August 29, 2015 14:13
Show Gist options
  • Save d4rkcat/8ec3eb5f37ae271d953b to your computer and use it in GitHub Desktop.
Save d4rkcat/8ec3eb5f37ae271d953b to your computer and use it in GitHub Desktop.
My autohotkey config file for console2
`::
DetectHiddenWindows, on
IfWinExist ahk_class Console_2_Main
{
IfWinActive ahk_class Console_2_Main
{
WinHide ahk_class Console_2_Main
WinActivate ahk_class Shell_TrayWnd
}
else
{
WinShow ahk_class Console_2_Main
WinActivate ahk_class Console_2_Main
}
}
else
{
Run Console
}
DetectHiddenWindows, off
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment