Skip to content

Instantly share code, notes, and snippets.

@avamsi
Last active March 20, 2017 13:19
Show Gist options
  • Save avamsi/91a4c85a3512873c24e2 to your computer and use it in GitHub Desktop.
Save avamsi/91a4c85a3512873c24e2 to your computer and use it in GitHub Desktop.
#SingleInstance force
#End::Volume_Mute
#PgUp::Volume_Up
#PgDn::Volume_Down
#!Up::
#!Right::
Run nircmd changebrightness +5
Return
#!Down::
#!Left::
Run nircmd changebrightness -5
Return
LWIN & LButton::
WinSet, AlwaysOnTop, On, A
WinGetTitle, Title, A
MsgBox, 262144,, AlwaysOnTop switched on for "%Title%"
Return
LWIN & RButton::
WinSet, AlwaysOnTop, Off, A
WinGetTitle, Title, A
MsgBox, 262144,, AlwaysOnTop switched off for "%Title%"
Return
#s::Run, "C:\Program Files\Sublime Text 3\sublime_text.exe"
#`::Run, bash,, Max
#c::
if WinActive("ahk_class CabinetWClass") or WinActive("ahk_class ExplorerWClass") {
Send {Alt Down}d{Alt Up}
Send cmd{Enter}
}
else {
Run, cmd, E:\
}
Return
^+c::Run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default"
#IfWinActive ahk_exe chrome.exe
{
^n::Run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default"
^+n::Run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Profile 1"
}
#IfWinActive ahk_exe Dopamine.exe
{
Space::Send {Media_Play_Pause}
Left::Send {Media_Prev}
Right::Send {Media_Next}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment