Jump to content

How do I mute the master volume?


zfm
 Share

Recommended Posts

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.

Link to comment
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

Link to comment
Share on other sites

@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.

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...