IMPORTANT: This plugin has been superseded by the new DXSystemEx plugin. You can download the new plugin from here:
LinkThe DXVolumeControl plugin adds support for master volume control on Windows Vista.
The plugin works by making two new callback functions available for use in your scripts:
- VistaVolume_OnVolumeEvent(volume)
- VistaVolume_OnMuteEvent(isMuted)
In addition to these two callbacks, three new properties allow the modification of the master volume, muting state and the monitoring of the peak level:
- VistaVolume.Volume
- VistaVolume.Mute
- VistaVolume.PeakValue (read-only)
It has a basic XP compatibility layer so that you can use it in your objects without making two different versions. On XP, it will only support the volume, mute and peak value properties. The callback functions will never be called.
Update (version 1.2.4): Fixed bug with VistaVolume.Mute not muting the audio correctly.
Note: the object shown in the screenshot is not included. You can download it from the Widget library (search for Volume Control).