Draygoes Posted April 15, 2022 Posted April 15, 2022 (edited) I used to be able to get to the Volume Mixer using the volume icon. In Windows 10/11, you can't do that. I want that back, so I'm writing a script that sits in the tray and opens this when clicked. Well, I started to. Then I realized, I don't know what to run. What am I running? #include <AutoItConstants.au3> #include <MsgBoxConstants.au3> #include <StringConstants.au3> #include <TrayConstants.au3> $OpenVm = TrayCreateItem("Open Volume Mixer") $idAbout = TrayCreateItem("About") $idExit = TrayCreateItem("Close Script") Opt("TrayMenuMode", 3) While 1 While 1 Switch TrayGetMsg() Case $idAbout ; Display a message box about the AutoIt version and installation path of the AutoIt executable. MsgBox($MB_SYSTEMMODAL, "", "Script to open the Volume Mixer. By Jerry (Draygoes) and the AutoIt Forum users." & @CRLF & @CRLF & _ "Version: " & @AutoItVersion & @CRLF & _ "Install Path: " & StringLeft(@AutoItExe, StringInStr(@AutoItExe, "\", $STR_NOCASESENSEBASIC, -1) - 1)) ; Find the folder of a full path. Case $idExit ; Exit the loop. Exit Case $OpenVm EndSwitch WEnd WEnd Screenshot:https://imgur.com/a/p7OWAJU Edited April 15, 2022 by Draygoes Added screenshot of Volume Mixer, Added to title.. Spoiler "If a vegetarian eats vegetables,What the heck does a humanitarian eat?" "I hear voices in my head, but I ignore them and continue on killing." "You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring." An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.
Danp2 Posted April 15, 2022 Posted April 15, 2022 Have you tried Right-clicking on the volume icon? I get a popup with an option to open the volume mixer when I do this. Latest Webdriver UDF Release Webdriver Wiki FAQs
Developers Solution Jos Posted April 15, 2022 Developers Solution Posted April 15, 2022 Do you mean?: sndvol.exe SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Danp2 Posted April 15, 2022 Posted April 15, 2022 This works for me -- ShellExecute("ms-settings:apps-volume") Latest Webdriver UDF Release Webdriver Wiki FAQs
Draygoes Posted April 15, 2022 Author Posted April 15, 2022 Thanks to both @Danp2and @Jos as Danp gave me exactly what I was asking for, and Jos gave me the better version of that answer. You both rock. And Dan, no, when I right click I get; ... Open Volume Mixer... I sware that wasn't there before. 😅 Spoiler "If a vegetarian eats vegetables,What the heck does a humanitarian eat?" "I hear voices in my head, but I ignore them and continue on killing." "You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring." An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.
Draygoes Posted April 15, 2022 Author Posted April 15, 2022 1 hour ago, Jos said: Do you mean?: sndvol.exe You know what? Even though I now have a different way to open the volume mixer, I'm still using this because this opens the one Jos had a pretty good idea that I'd prefer... because he's absolutly right, I do prefer it. Spoiler "If a vegetarian eats vegetables,What the heck does a humanitarian eat?" "I hear voices in my head, but I ignore them and continue on killing." "You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring." An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now