MUTE the speaker volume?

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

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

Similar Threads

Excel Macro to un-mute Audio/speakers. 15
can "mute" be toggled? 22
Mute all 1
Mute 1
Volume Problems 1
Windows XP Using dialer.exe Without My Speakers 6
keyboard shortcut to mute speaker? 3
Hotkey not working right with Intellitype Pro 6.3 2

Top