Answers:
搜索一下,我在几个地方找到了这个脚本(所以我不知道应该归功于谁)
用于切换音量控制静音状态的脚本:
set WshShell=createobject("wscript.shell")
WScript.Sleep 1000
WshShell.run "sndvol32"
WshShell.AppActivate "Volume Control"
WScript.Sleep 1000
WshShell.SendKeys("{TAB}{TAB}")
WScript.Sleep 1000
WshShell.SendKeys(" ")
WScript.Sleep 1000
WshShell.AppActivate "Volume Control"
WshShell.sendkeys "%{f4}"