Function Reference


SoundSetWaveVolume

Sets the system wave volume by percent.

SoundSetWaveVolume ( percent )

Parameters

percent percentage number between 0 and 100

Return Value

Success: 1.
Failure: 0 and sets the @error flag to 1 if percent is invalid.

Remarks

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.

Related

SoundPlay

Example

; Set the volume to 50%.

SoundSetWaveVolume(50)