Jump to content

check if master volume is muted


speedi
 Share

Recommended Posts

With help I have created this script to check if the volume control is muted. It always tells me "Master Volume is NOT muted" even if it is. I need help. Volume Control window info is attached...

The script:

WinActivate("Volume Control")

if ControlCommand ( "Volume Control", "Volume", "[TEXT:&Mute]", "IsChecked") = 1 then

MsgBox(4096, "mute check", "Master Volume is muted", 10)

Else

MsgBox(4096, "mute check", "Master Volume is NOT muted", 10)

endif

post-97-12596250572112_thumb.jpg

Link to comment
Share on other sites

  • 2 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...