Hi folks,
I have an application where I need to send voice commands to an operator. As part of this effort, I need to check if the speaker is muted. I would also like to control the volume, for which I found a working routine on this message board. A quick Google search turned up some VB code in the Microsoft Knowledge Base that sounded it would check the status of mute. I then found a cleaner version at this location and I have been working with this code.
http://www.pcreview.co.uk/forums/api-commands-turn-volume-control-t1008148.html
I put it into Excel and it appeared to be working but not with the speaker.
When I display the audio mixer and run the code, I see 5 sliders: speaker, System Sounds, Firefox, iTunes, Excel. The code is moving the slider for Excel, but not the speakers. It also appears to be reading the mute for Excel.
Do any of you understand why the Mixer creates a slider for each process and what can I do to actually monitor mute and control the speakers not Excel.
Zig
I have an application where I need to send voice commands to an operator. As part of this effort, I need to check if the speaker is muted. I would also like to control the volume, for which I found a working routine on this message board. A quick Google search turned up some VB code in the Microsoft Knowledge Base that sounded it would check the status of mute. I then found a cleaner version at this location and I have been working with this code.
http://www.pcreview.co.uk/forums/api-commands-turn-volume-control-t1008148.html
I put it into Excel and it appeared to be working but not with the speaker.
When I display the audio mixer and run the code, I see 5 sliders: speaker, System Sounds, Firefox, iTunes, Excel. The code is moving the slider for Excel, but not the speakers. It also appears to be reading the mute for Excel.
Do any of you understand why the Mixer creates a slider for each process and what can I do to actually monitor mute and control the speakers not Excel.
Zig