Sign in to follow this  
Followers 0
GrizDoug

Getting state of mute button on levels tab for Audio device in Vista using Sound dialog

2 posts in this topic

#1 ·  Posted (edited)

When getting state of mute button on levels tab for Audio device in Vista using Sound dialog at Playback tab, need a way to determine if the button is in the muted or un-muted state. I looked at _GUICtrlButton_GetState() and that did not provide any useful information that can help determine whether the button is in the muted or un-muted state. The Sound dialog is displayed by right-clicking the white speaker icon in the tray at the lower right of the windows screen and selecting Playback devices. Does anyone know a way to get the state information from a button that was not developed as a GUI item in AutoIt? Thanks in advance.

Edited by GrizDoug

Gotta keep on truckin' to find the perfect solution, but sometimes you run into roadblocks, so you gotta jam right through those roadblocks!!

Share this post


Link to post
Share on other sites



When getting state of mute button on levels tab for Audio device in Vista using Sound dialog at Playback tab, need a way to determine if the button is in the muted or un-muted state. I looked at _GUICtrlButton_GetState() and that did not provide any useful information that can help determine whether the button is in the muted or un-muted state. The Sound dialog is displayed by right-clicking the white speaker icon in the tray at the lower right of the windows screen and selecting Playback devices. Does anyone know a way to get the state information from a button that was not developed as a GUI item in AutoIt? Thanks in advance.

Maybe another way to approach this is to ask if there is a way to set the mute button to "Mute" no matter what setting it has (muted or un-muted)?


Gotta keep on truckin' to find the perfect solution, but sometimes you run into roadblocks, so you gotta jam right through those roadblocks!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0