Adjust audio of particular (non-default) sound device

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
lj87
Posts: 13
Joined: 06 Dec 2015, 18:47

Adjust audio of particular (non-default) sound device

18 Oct 2017, 22:12

Hi,

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)

}
Could someone please alter my code so that it only changes the volume of a device called "VX3209-2k-8" instead?

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

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada and 292 guests