Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; SoundUpDown.ahk
- ; (c) mandrew 2012
- ; Might not be done here yet... let me check one more thing...
- ; Yep. This works when you hold down Shift and roll the mouse wheel up or down.
- ; I can't actually test it because I'm on linux but I'll make it public idgaf
- ; I can still make this fancier...
- if A_OSVERSION in WIN_VISTA
- {
- VistaMethod:=1
- }
- +WheelUp::
- if VistaMethod
- Send {Volume_Up}
- else
- SoundSetWaveVolume, +5
- Return
- +WheelDown::
- if VistaMethod
- Send {Volume_Down}
- else
- SoundSetWaveVolume, -5
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement