Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alan-null/43059f9cb2f66732ccc1b06a1f196c39 to your computer and use it in GitHub Desktop.
Save alan-null/43059f9cb2f66732ccc1b06a1f196c39 to your computer and use it in GitHub Desktop.
AutoHotKey
LWin & WheelUp::
; Previous Desktop
Send {LWin down}{Ctrl down}{Left down}{LWin up}{Ctrl up}{Left up}
return
LWin & WheelDown::
; Next Desktop
Send {LWin down}{Ctrl down}{Right down}{LWin up}{Ctrl up}{Right up}
return
!Numpad0:: Send {Volume_Mute}
!WheelUp:: Send {Volume_Up 2}
!WheelDown:: Send {Volume_Down 2}
!XButton2:: Send {Media_Next}
!XButton1:: Send {Media_Prev}
ScrollLock::Suspend
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment