web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / I want to make a flow ...
Power Automate
Unanswered

I want to make a flow to change Audio output Device

(0) ShareShare
ReportReport
Posted on by 9

So, I want to basically make a audio device switcher in windows 11. so, in windows 11 you change the audio device by pressing windows + A.

brave_n6ofwIW6Tx.png

 

then the arrow next to the volume slider

 

brave_XiGXo58swg.png

 

And then Clicking on the device name

 

brave_ttFKJwWCXq.png

 

I recorded my steps but when playing them back, I got error :-

 

PAD.Designer_eFs4oirkWO.png

 

I am a beginner so, I need help to fix this error

 

Thank You for any help

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Also check if you have more control over by using this screen

     

    VJR_0-1652067233298.png

     

    This screen can be launched using "Run application" mmsys.cpl

    and then record the rest of the steps till you click the "Set default" button.

  • GDM_Music Profile Picture
    9 on at

    yeah, that worked but i also want to make it a toggle script. So, it should set the default to "SRX XB-13" and then if ran again, it should set default the "High Definition Audio Device". 

     

    For that, I need if statements. and also get the name of the audio devices that is set to default in the mmsys.cpl. I have no idea how i am going to do it because i am a complete beginner. So I need your help

     

  • VJR Profile Picture
    7,635 on at

    Use the Windows recorder and it will give you a lot of readymade actions. Then you need to just modify, or add some new actions. 

    Once you are done share some screenshots of your Flow and you will get pointers from the forum members.

  • GDM_Music Profile Picture
    9 on at

    Ok, here's the screenshot:- 

     

    PAD.Designer_JfEHTLP5lX.png

     

    Now, i want to make it a toggle action. so, if i ran it again then it should change output back to the "Headphones"

  • VJR Profile Picture
    7,635 on at

    Create two UI elements - 1 for Headphones and the other for Speakers.

     

    Use the "Extract data from window" action which will give the "Default device" on the third line for both of these UI elements.

    Use if conditions to check this value, and if it is not "Default device" for one element then use UI actions to enable the other one.

     

    VJR_0-1652332199849.png

     

  • waldi Profile Picture
    2 on at

    There are as well 3rd party solutions, where you can set up the shortcuts to switch audio outputs, softwares like audioswitcher or nirsoft, Alternatively, there is an audioswitch headphone stand, which switches audio outputs automatically.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard