Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Chelsea Marie
5 discussion posts
I have been searching the forums this morning and have found a lot of topics on controlling which audio device to use based on certain factors, but I'm wondering if it's possible to control the actual audio volume based on your monitor profile.

When I'm at my desk I have my laptop on a dock that's connected to three monitors and I have my audio up to 100 to listen to music and hear my calendar notifications. When I take my laptop off the dock for a meeting, I don't always remember to mute my computer so sometimes I'll hear the DING of an email come in or REMINDER! if I have another meeting on my calendar. It's quite loud and a touch scary.

I already use DisplayFusion to put my windows back in their places when I re-dock my computer and was wondering if it could mute or un-mute the computer audio based on the current monitor profile.

Thanks,
Chelsea
Apr 5, 2017 (modified Apr 5, 2017)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You should be able to do this with a Trigger and a Scripted Function. Do you want the volume to be muted when undocked, or just quieter? If so, what level would you like the volume to be when undocked?
Apr 7, 2017  • #2
User Image
Chelsea Marie
5 discussion posts
Making it quieter would probably be okay. What language are the custom scripts written in?
Apr 24, 2017  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The Scripted Functions are written in either C# or VB. Try this out:
  • On the Settings > Functions tab, click "Download Scripted."
  • Double-click the "Set Volume to 20%" script, click OK, then Apply.
  • On the Settings > Triggers tab, click Add.
  • Setup the Trigger rule like the attached screenshot and click OK, then OK again.

Hope that helps!
• Attachment: VolumeTrigger.png [31,571 bytes]
VolumeTrigger.png
VolumeTrigger.png
Apr 25, 2017  • #4
User Image
Chelsea Marie
5 discussion posts
Thanks so much! Works great! I was also able to make a second custom script to turn it back to 100% when re-docked referencing your code.
Apr 26, 2017  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Excellent, glad to hear it! Funny thing is that I'm actually using this script now too, because I was running into the same problem as you with my laptop! :)
Apr 26, 2017  • #6
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)