Note: SoundSet and SoundGet on AutoHotkey v1.1.10 and later support Vista and later natively. You don't need VA.ahk unless you want to use advanced functions not supported by SoundSet/SoundGet.
VA provides alternatives to some SoundSet/SoundGet subcommands, as well as some additional features that SoundSet/SoundGet do not support. See the online documentation for a list of functions.
Note: This library depends entirely upon APIs present only in Windows Vista and later. Scripts using it should NOT be run in XP compatibility mode or on any version of Windows older than Vista.
Notes for v2.1 and later:
- Requires AutoHotkey v1.1.
- COM.ahk is NOT required. COM_Init() does NOT need to be called.
- Requires Sean's Standard Library COM.ahk
- COM must be initialized prior to calling any VA functions: COM_Init().
Download v2.3 for AutoHotkey 1.1 - v2.0 for AutoHotkey 1.0
VA is public domain or similar.
Device Topology / Subunits
Subunit/component names are defined by the audio drivers, so will vary from PC to PC. Volume subunits often have the same names as shown on the Levels tab in the Properties of the sound device. Mute subunits might not have unique names; in those cases, use a numeric index instead of a name.