I would like to write an Script to determine whether the Master System Volume is muted, to mute it or unmute it.
Basically I want to do what is explained in this answer:
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys(chr(&hAD))
...but with a little improvement, what I would like to perform are two procedures, one for mute and the other for unmute, so I need to determine if it's muted or not.
I already know how to do this using 3rd party libraries in other languages, but I need to do it with VisualBasicScipt so I have no idea where to start in this limited language, maybe WMI tells something about the current master volume level? if yes then I suppose that could save me.
Any ideas?