Advertisement
Guest User

QuakeTerminal.ahk

a guest
Nov 2nd, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. ; Change your hotkey here
  2. F10::
  3.  
  4. DetectHiddenWindows, on
  5. IfWinExist ahk_class Console_2_Main
  6. {
  7. IfWinActive ahk_class Console_2_Main
  8. {
  9. WinHide ahk_class Console_2_Main
  10. WinActivate ahk_class Shell_TrayWnd
  11. }
  12. else
  13. {
  14. WinShow ahk_class Console_2_Main
  15. WinActivate ahk_class Console_2_Main
  16. }
  17. }
  18. else
  19.  
  20. Run E:\tools\Console2\Console.exe
  21.  
  22. DetectHiddenWindows, off
  23. return
  24.  
  25. ; hide Console on "esc".
  26. ;#IfWinActive ahk_class Console_2_Main
  27. ;esc::
  28. ;{
  29. ; WinHide ahk_class Console_2_Main
  30. ; WinActivate ahk_class Shell_TrayWnd
  31. ;}
  32. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement