AutoHotkey v1.1.10
Changes since v1.1.09
Added basic support for custom Gui control types.
Revised SoundSet, SoundGet and 'WaveVolume commands to better support Windows Vista and later.
Fixes as listed below.
Changes since v1.1.10-alpha4
Fixed Run "<file>" <args>
to not pass the space as part of the args.
Fixed some issues with reading from console input (CONIN$).
v1.1.10.01
Improved RegRead to support REG_BINARY values larger than 64K.
Improved RegWrite to support REG_BINARY/REG_MULTI_SZ values larger than 64K.
Fixed Process Close (and possibly other things) on Windows XP.
SoundSet/SoundGet
These commands now have improved support Windows Vista and later. As a result, any scripts which already used them on Vista or later may not work the same way or at all. The syntax is the same as before, but device numbering and component support differs.
Each device returned by the audio API gets a different number. Since the audio architecture on Vista and later is very different to earlier versions of Windows, the device numbering for SoundSet/SoundGet is also different. Windows may report a separate device for each output or input connector on a physical device (e.g. Speakers, Line In, Microphone, Stereo Mix, etc.). On Vista and later DeviceNumber defaults to the default playback device, not necessarily device 1.
Currently only Volume and Mute controls are supported. Other control types are supported by Windows, but very few are supported by the sound devices I have at hand - I suspect that those other control types would be very rarely available.
As an alternative to the old sound card analysis script, I have written a script which lists all devices, showing the device name and number, and all component and control types it supports. Volume and Mute can also be adjusted using the Gui (one at a time). The Endpoint and Adapter names should match up to what you see in the Sound control panel.
soundcard.ahk
Requires:
- AutoHotkey v1.1.10+
- Windows Vista or later
- VA.ahk version 2.2