Jump to content
Sign in to follow this  
zfm

How do I mute the master volume?

Recommended Posts

zfm

Is there a way to mute the master volume from an Autoit3 script? :)

Share this post


Link to post
Share on other sites
Andreik

Is there a way to mute the master volume from an Autoit3 script? :)

Try this:

SoundSetWaveVolume(0)

When the words fail... music speaks

Share this post


Link to post
Share on other sites
zfm

Try this:

SoundSetWaveVolume(0)
It says in the help section that won't work.

Share this post


Link to post
Share on other sites
Andreik

It says in the help section that won't work.

Ugly but work on WinXP:

Func Mute()
Run("SNDVOL32",@SystemDir,@SW_HIDE)
WinWait("Volume Control")
WinActivate("Volume Control")
WinWaitActive("Volume Control")
ControlFocus("Volume Control","","[CLASSNN:Button2]")
ControlClick("Volume Control","","[CLASSNN:Button2]")
WinClose("Volume Control")
EndFunc

When the words fail... music speaks

Share this post


Link to post
Share on other sites
Xenobiologist

Have a look at Vollys Sound UDF


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
Andreik

:)

Send("{VOLUME_MUTE}")
I don't think that work for a simple keyboard.

When the words fail... music speaks

Share this post


Link to post
Share on other sites
BrettF
Andreik

it works for me :)

You have a simple keyboard without special keys?


When the words fail... music speaks

Share this post


Link to post
Share on other sites
monoceres

@Andreik.

It has nothing to do what keyboard you have.


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
Andreik

@Andreik.

It has nothing to do what keyboard you have.

Ok, I understand now. I though that only with if you have special keyboard work special keys. :)

EDIT:

It`s only for 2000/XP, maybe Volly Sound UDF is more good for this.

Edited by Andreik

When the words fail... music speaks

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.