C
Chris Mallett
A while back, I searched high & low for some freeware which would allow
complete control over any soundcard without having to open its mixer window.
Not having found anything flexible enough, I decided to write my own and
integrate it into AutoHotkey, which is free and open source. Here are some
examples of what you can do with it:
SoundSet, 50 ; Set the master volume to 50%
SoundSet, 1, Microphone, mute ; mute the microphone
SoundSet, +1, , mute ; Toggle the master mute (set it to the opposite
state)
SoundSet, +20, Master, bass ; Increase bass level by 20%.
if ErrorLevel <> 0
MsgBox, The BASS setting is not supported for MASTER.
SoundGet, master_volume
MsgBox, Master volume is %master_volume% percent.
SoundGet, master_mute, , mute ; It will be either ON or OFF
MsgBox, Master Mute is currently %master_mute%.
All of the above examples can easily be assigned to a hotkey such as in this
example, which toggles the master mute whenever you press Ctrl-Alt-M:
^!m::SoundSet, +1, , mute
I've also made some other recent improvements to AutoHotkey that may be of
interest:
- Added the ability to connect to a remote computer's registry, as well as
registry enumeration (allows the registry to be explored programmatically).
- Added built-in variable %A_TimeIdle%, which is the number of milliseconds
since the system last received keyboard, mouse, or other input. This is
useful for determining whether the user is away. This variable will be blank
unless the operating system is Windows 2000, XP, or beyond.
http://www.autohotkey.com
complete control over any soundcard without having to open its mixer window.
Not having found anything flexible enough, I decided to write my own and
integrate it into AutoHotkey, which is free and open source. Here are some
examples of what you can do with it:
SoundSet, 50 ; Set the master volume to 50%
SoundSet, 1, Microphone, mute ; mute the microphone
SoundSet, +1, , mute ; Toggle the master mute (set it to the opposite
state)
SoundSet, +20, Master, bass ; Increase bass level by 20%.
if ErrorLevel <> 0
MsgBox, The BASS setting is not supported for MASTER.
SoundGet, master_volume
MsgBox, Master volume is %master_volume% percent.
SoundGet, master_mute, , mute ; It will be either ON or OFF
MsgBox, Master Mute is currently %master_mute%.
All of the above examples can easily be assigned to a hotkey such as in this
example, which toggles the master mute whenever you press Ctrl-Alt-M:
^!m::SoundSet, +1, , mute
I've also made some other recent improvements to AutoHotkey that may be of
interest:
- Added the ability to connect to a remote computer's registry, as well as
registry enumeration (allows the registry to be explored programmatically).
- Added built-in variable %A_TimeIdle%, which is the number of milliseconds
since the system last received keyboard, mouse, or other input. This is
useful for determining whether the user is away. This variable will be blank
unless the operating system is Windows 2000, XP, or beyond.
http://www.autohotkey.com