Current time: 02-05-2012, 04:46 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mute Sound Volume in WSH
08-01-2009, 01:26 PM
Post: #1
Mute Sound Volume in WSH

I’ve seen this question several times over the past few weeks so I decided to sit down and find a solution. There’s a plethora of reasons why you might want to mute or unmute sound volume from within a WSH script. Until now, there’s been no viable solution. (more…)





Posted on Fri, 07 Nov 2008 22:59:00 +0000 at http://www.nilpo.com/2008/11/windows-xp/...me-in-wsh/
Comments: http://www.nilpo.com/2008/11/windows-xp/.../#comments
Visit this user's website Find all posts by this user
Quote this message in a reply
07-19-2010, 10:57 AM
Post: #2
RE: Mute Sound Volume in WSH
Thank you for supplying this information.

but my situation is that I need to check that the user has not muted the system before running the WSH commands (within browser):

Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys(chr(&hAD))

and only execute if the system is already muted. Since I am brand new to WSH I have no idea of whether this can be done here, and I don't know that Javascript provides that level of control either.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  A Clipboard Control for WSH Nilpo 2 2,181 03-09-2010 02:45 PM
Last Post: Nilpo
  Renew Dynamic IP Addresses in WSH Nilpo 0 1,110 08-01-2009 01:26 PM
Last Post: Nilpo
  Reading Word Documents in WSH Nilpo 0 842 08-01-2009 01:26 PM
Last Post: Nilpo
  Hiding a Logical Disk Volume using Group Policies Nilpo 0 402 08-01-2009 01:26 PM
Last Post: Nilpo
  Removing a Logical Disk Volume in Windows Nilpo 0 783 08-01-2009 01:26 PM
Last Post: Nilpo

Forum Jump:


Forum Permissions
You cannot post new threads.
You cannot post replies.
You cannot post attachments.
HTML is turned on.
MyCode is turned on.
Smilies are turned off.
[img] is turned on.