Sets the system wave volume by percent.
SoundSetWaveVolume ( percent )
percent | percentage number between 0 and 100 |
Success: | 1. |
Failure: | 0 and sets the @error flag to 1 if percent is invalid. |
This controls the Wave volume, not the master volume control. Also, a value of Zero does not set mute status.
On Windows Vista, there is no system-wide wave volume. This function only changes the wave volume for the script. It can not be used to change the wave volume of other programs.
; Set the volume to 50%.
SoundSetWaveVolume(50)