Function Reference

SoundSetWaveVolume

Sets the system wave volume by percent.

SoundSetWaveVolume ( percent )

 

Parameters

percent percentage number between 0 and 100

 

Return Value

Success: Returns 1.
Failure: Returns 0 and sets @error 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


SoundSetWaveVolume(50)