Created
April 14, 2020 17:06
-
-
Save maximousblk/86ed5dca33049bb90a97198beca89aed to your computer and use it in GitHub Desktop.
This file contains 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
#InstallKeybdHook | |
#Persistent | |
#HotkeyInterval,100 | |
#NoEnv | |
SetKeyDelay, –1 | |
SetTitleMatchMode, 2 ; Makes matching the titles easier | |
SendMode Input | |
SetWorkingDir %A_ScriptDir% | |
^q:: | |
{ | |
; put the hiding windows stuff here | |
Send, {Media_Play_Pause} | |
WinHide, VLC media player | |
Return | |
} | |
!^q:: | |
{ | |
; put the functions to show everything again here | |
DetectHiddenWindows, On | |
WinShow, VLC media player | |
Send, {Media_Play_Pause} | |
Return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment