Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Change your hotkey here
- F10::
- 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 E:\tools\Console2\Console.exe
- DetectHiddenWindows, off
- return
- ; hide Console on "esc".
- ;#IfWinActive ahk_class Console_2_Main
- ;esc::
- ;{
- ; WinHide ahk_class Console_2_Main
- ; WinActivate ahk_class Shell_TrayWnd
- ;}
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement