Sign in to follow this  
Followers 0
zfm

How do I mute the master volume?

11 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Try this:

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

Share this post


Link to post
Share on other sites

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

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

#6 ·  Posted (edited)

:)

Send("{VOLUME_MUTE}")
Edited by Soru

[b][/b]

Share this post


Link to post
Share on other sites

:)

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

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

@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

#11 ·  Posted (edited)

@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  
Followers 0