Unmute Windows sound using WScript.Shell
Ältere Kommentare anzeigen
How can I unmute the sound in Windows using Matlab?
In VBA this can be done using elegantly:
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys (Chr(&HAD))
But in Matlab I faild to use the method SendKeys to the method:
f=actxserver('WScript.Shell')
The post of Yair Altman: http://www.mathworks.com/matlabcentral/fileexchange/25584-soundvolume-set-or-get-the-system-speaker-sound-volume does unfortunately not work either. Any help on this?
Patrice
4 Kommentare
Daniel Shub
am 8 Aug. 2012
What version of Windows are you using? How many and what types (i.e., internal, USB, firewire) of soundcards are you using?
Patrice Tscherrig
am 10 Aug. 2012
Friedrich
am 10 Aug. 2012
Youe posted code doesn't work for me in VBA (Excel 2010, Win 7). And it also doesnt work in VBS. Are you sure that this code works on Win 7 and XP the same way?
Jan
am 19 Aug. 2012
"Does not work" is not sufficient description of the problem with Yair's Java tool.
Antworten (0)
Kategorien
Mehr zu Audio and Video Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!