Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#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