rm65453 Posted June 19, 2015 Share Posted June 19, 2015 Hello Everyone,I apologize if this information is available on the forum. I have been searching for a couple of days but unable to find the solution.So my script runs in the background and notifies user with an audio and text alert. The trouble is we had tried this previously with excel and some IM solutions but many users would either turn the volume of the speaker low or even mute it. I need a function which does 1. Checks if speaker volume is mute, if yes then unmute it and then 2. raise the volume to say 80 or 100%. I have looked at audio.au3 and sound.au3 but so far no success. Thanks Link to comment Share on other sites More sharing options...
Andreik Posted June 19, 2015 Share Posted June 19, 2015 Did you tried SoundSetWaveVolume()? When the words fail... music speaks. Link to comment Share on other sites More sharing options...
rm65453 Posted June 20, 2015 Author Share Posted June 20, 2015 Did you tried SoundSetWaveVolume()?Yes I did. That does not change the volume of the speakers. Apparently the wave volume is different from the speaker volume control. Link to comment Share on other sites More sharing options...
rm65453 Posted June 23, 2015 Author Share Posted June 23, 2015 I thought i should update the message with my solution for windows 7 and 8 Send ("{VOLUME_UP}") ; this unmutes if muted _SetMasterVolumeLevel(0) ; this takes the volume to 100%Feel free to update the thread if a better solution comes up. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now