Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

Is there any way to darken unused monitors when using a fullscreen application?

Avatar from Gravatar.com
Michael Kelly2
1 discussion post
Hi, I was trying to find a way to darked/ turn off monitors not used when a fullscreen application is launched, such as a video game or movie.

I have 3 monitors but for most applications I only use one when playing games. Currently I am manually turning off the side monitors to better focus on the game, but I was wondering if there was a setting somewhere I could use to do this automatically. This would be perfect I was able to choose the applications I would like this to effect.

Has anybody come across a solution?
Feb 2, 2014  • #1
Alan Wade's profile on WallpaperFusion.com
You can acheive this with Stardocks WindowsFX5. There are varing degrees of how dark the inactive windows can be from slightly dark to blacked out.
The app isnt free, it costs $9.99 but it does what I want it to so worth the money IMO.

http://www.stardock.com/products/windowfx/
Feb 3, 2014 (modified Feb 4, 2014)  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks Alan! We have this on our feature request list as well, so I've added your vote, Michael. We don't have any plans to implement it at the moment, but if anything changes, we'll post an update
Feb 3, 2014  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
This functionality is now available using a Scripted Function. We've written an example one for you. Here's how to set it up:
  • On the DisplayFusion Settings > Functions tab, click the "Download Scripted" button
  • Double-click the script named "Dim All Monitors Except Primary"
  • Give it a key combination and click OK
  • Optionally, select it, click "Toggle TitleBar Button" (to add it to the caption bar of every application)
  • Click Apply and test it out

Thanks!
Nov 3, 2015  • #4
Avatar from Gravatar.com
Lucas W. Bodnyk469353
1 discussion post
Keith,

This function is awesome, and it's cool to see scripted functionality extend the already amazing usefulness of DisplayFusion.

That said, I can't seem to figure out how I might modify the amount of alpha applied to the windows.

I am not particularly familiar with C#, or Windows functions, but I do see a variable declared in class TransparentForm that indicates it tells us "what transparency to use". It looks like it's passed '30m' up above in method 'forms.Add(new TransparentForm(id, 30m))' ??

But '30m' is not a decimal...

Changing it to 29 or 31 appeared to work without complaint, but didn't really affect the amount of transparency. Other values seemed to crash the function (hilariously, the function catches errors and simply discards them - I guess I could pass the errors, but I'm not sure what that would do to DisplayFusion itself).

Can you give me any hints?

edit: I commented out the catch, replaced it with a finally, and it indeed crashed DisplayFusion Settings.
Oct 23, 2016 (modified Oct 23, 2016)  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Wow! We'll have to check that out :)

The 30m is a percentage, so 30m is 30% black, 100% would be fully opaque black :)
Oct 26, 2016  • #6
Was this helpful?  Login to Vote(3)  Login to Vote
<< DiscussionsReply