Jump to content

If not muted, mute sound


Recommended Posts

Anyone know the best way to do this? Check if the sound is muted, if not, mute the sound? I know you can use {Send} to change % of volume, but is there a way to mute, if not muted.

If $ismuted == 0 Then
               Mutesound()
            EndIf

????

Link to comment
Share on other sites

Anyone know the best way to do this? Check if the sound is muted, if not, mute the sound? I know you can use {Send} to change % of volume, but is there a way to mute, if not muted.

If $ismuted == 0 Then
               Mutesound()
            EndIf

????

i use

_SoundStatus ( $sSnd_id )

Link to comment
Share on other sites

Parameter(s): $sSnd_id - Sound ID returned by _SoundOpen or sound file

I'm not opening a sound file, just trying to mute the computer sound. Not sure what to pass that function, since i am not opening a sound file.

Link to comment
Share on other sites

Hate to sound dumb, but I can't find this anywhere. A forum search only returned this topic...

Someone want to get that hook back, he took it hook, line and sinker.....

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

I'm suprised there isn't an easy function like....

_SoundVol()

10 - 100 is volume level. You could also pass it "mute" or "0". Which would mute the volume...hrmm...seems so simple...guess not

Well.... there ya go!!!

Here's your chance to make a UDF!!!

8)

NEWHeader1.png

Link to comment
Share on other sites

Try Wizmo from grc.com. This is by the guy who made Spinrite a few years back. I use Wizmo to shut down students' noisemaking...

...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...