Sets the speaker volume.
SoundVolume (level)
(i) level specifies the volume level, from 0 (min) to 100 (max). specify -1 to get the current volume setting.
(i) if level 0 to 100 it returns previous volume level. if level is -1 it returns the current volume level.
Sounds(1) currentlevel = SoundVolume (-1) Message("SoundVolume - Current level", currentlevel) ;lower volume 10% level = SoundVolume (currentlevel -10) Message("SoundVolume - Sound lowered 10%%", currentlevel -10) ;Set back to original volume SoundVolume (currentlevel)