I have a script that uses Balloon Tips to alert users to progress. However, by default balloon tips make an annoying noise. In a perfect world I would be able to set my balloon tips to be silent, while leaving any other alerts to behave in the normal way. But I don't see anything along the lines of $balloontip.balloonTipMute=$true
.
My second thought was to mute the machine for the duration of my test, and I found this thread that seems to be what I want. However, the Core Audio API approach Alexandre mentions is not working for me, and the simple SendKeys approach doesn't work if the machine is already muted, as in that case I turn sound on right before proceeding to annoy the snot out of the user.
So, starting from the bottom, is there a way in PowerShell to see if audio is already muted, so I can toggle only if needed? Or, can someone verify that the Core Audio API approach really should work from Windows 7 on, and I need to start looking for a mistake? Or best yet, is there a secret sauce that makes Balloon Tips silent?