-
-
Save Shadow6363/2038827 to your computer and use it in GitHub Desktop.
AutoHotKey Script for Console2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Launch console if necessary; hide/show on Ctrl+` | |
^`:: | |
DetectHiddenWindows, on | |
IfWinExist ahk_class Console_2_Main | |
{ | |
IfWinActive ahk_class Console_2_Main | |
{ | |
WinHide ahk_class Console_2_Main | |
; need to move the focus somewhere else. | |
WinActivate ahk_class Shell_TrayWnd | |
} | |
else | |
{ | |
WinShow ahk_class Console_2_Main | |
WinActivate ahk_class Console_2_Main | |
} | |
} | |
else | |
Run C:\Program Files\Console2\Console.exe | |
DetectHiddenWindows, off | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment