MUTE the speaker volume?


R

RDI

Does anyone know how to mute (and un-mute) the speakers from the command
line?
 
Ad

Advertisements

R

RDI

I take it that there's not a DLL in Windows that does it? I had hoped to
use rundll32.exe to do it from a command line--I didn't want to DL software
to do it.
 
Ad

Advertisements

M

Mark R. Blain

Does anyone know how to mute (and un-mute) the speakers from the command
line?
Found in:
<http://groups.google.com/[email protected]>
Save the following vbscript as "mute.vbs":

set oShell = CreateObject("WScript.Shell")
oShell.run"Sndvol32"
WScript.Sleep 1500
oShell.SendKeys"{TAB 2} "
oShell.SendKeys"%{F4}"

Run the script from the command line like this:
cscript mute.vbs
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top