At the moment I have this code to use my mouse wheel to adjust volume of the system, but it works for the default system audio device.
Code: Select all
#If MouseIsOver("ahk_class Shell_TrayWnd")
WheelUp::Send {Volume_Up}
WheelDown::Send {Volume_Down}
MouseIsOver(WinTitle) {
MouseGetPos,,, Win
return WinExist(WinTitle . " ahk_id " . Win)
}
I read somewhere about putting the device name in " ", but would have no idea where to insert it into the text if it is correct.
Thanks