Hello,
Windows 10 Home 22H2, WinBatch 2023A, Dll 6.23awa
I have been banging my head against the wall for a couple of days and I am ready to declare defeat. Part of a script that I am working on uses the Windows 10 control panel Sound applet. I have been able to do everything that I need except one thing. I am trying to use the Speakers mute control. I launch the applet, mmsys.cpl, using ShellExecute. Once open I use the following sequence to get to the mute control. Playback tab > Speakers list item > Properties button. This opens the Speakers Properties window. The Levels tab has the speakers volume control and mute button. I have been able to get the handle for the mute button and use cClickButton to operate it. What I have not been able to figure out is if there is a way to query the button to check if it is muted or unmuted. I tried cEnableState but that shows whether the control itself is enabled/disabled, it does not return the mute/unmute state. I am not a programmer, so other software languages are out of my league. Can anyone tell me if there is a way to query the button in WinBatch?
Thanks,
Charlie