Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
EbmNYC
7 discussion posts
Hi everyone,

Is it possible to configure DisplayFusion so that a specific software, when launched, automatically applies a predefined screen configuration?

I have two monitors and a TV connected to my computer, and I would like to create a configuration where, when I launch a specific software, only my TV turns on automatically following one of my screen configuration.

Also, is it possible to set up a configuration where all my screens are activated when I close this specific software?

Currently, I have to switch between my screen configuration with a hotkey.

Thanks in advance for your answers.
Dec 27, 2024  • #1
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
This should be possible using Monitor Profiles and Triggers. If you configure a monitor profile that you would like to use with the application, then save it as something like "App Monitor Profile". Then create a Trigger for "Process Started" and select your application EXE. Next, add an Action for "New Scripted Function". You should see a code editor appear. Just copy/paste this line into the main code area inside the "Run" block.

Code

BFS.DisplayFusion.LoadMonitorProfile("App Monitor Profile");


Enter a name for the scripted function at the top and save it. This Trigger will now run this script when your application EXE is detected. As you can imagine you can do quite a bit more with the scripted functions if you need as well. :)
Dec 27, 2024  • #2
User Image
EbmNYC
7 discussion posts
Hi,

Thank you for your answer, I use your solution and this script, it's work good, but I jave a question, how I can avoid this notification? See attached.

https://www.displayfusion.com/ScriptedFunctions/View/?ID=0875d3a4-b11a-4446-a7dd-954c53e3ab5a

Thank you,
• Attachment [protected]: 2024-12-27_14-42.png [9,317 bytes]
Dec 28, 2024  • #3
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
You can enable this advanced setting:

https://www.displayfusion.com/AdvancedSettings/#monitorconfiguration_dontshowconfirmationprompt

Thanks!
27 days ago  • #4
User Image
EbmNYC
7 discussion posts
Hi,

Thank you for your answer.

I have one more question. I've changed how I switch monitors using the code line you provided and using "Process Created" and "Process Ended". With "Process Created", it works, but with "Process Ended", nothing happens. Based on the attached screenshots, can you tell me what's wrong?

DisplayFusion Pro 11.0.5

Thnak you,
• Attachment [protected]: 2024-12-30_15-26.png [53,106 bytes]
• Attachment [protected]: 2024-12-30_15-27_1.png [75,067 bytes]
• Attachment [protected]: 2024-12-30_15-27.png [75,071 bytes]
• Attachment [protected]: 2024-12-30_15-34_1.png [69,817 bytes]
• Attachment [protected]: 2024-12-30_15-34.png [70,316 bytes]
• Attachment [protected]: 2024-12-30_15-35.png [83,032 bytes]
27 days ago  • #5
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
Very strange, let us take a look and see if we can replicate the issue here. It might have to wait a few days, we have quite a few people off this week. Thanks! :)
27 days ago  • #6
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
It looks like that app minimizes to the tray when closed, it doesn't actually exit. If you close it via Task Manager, does the trigger fire?
26 days ago  • #7
User Image
EbmNYC
7 discussion posts
Hi,

I fixed my problem by changing the name of my monitor profile to "Only Monitors" instead of "Only Computer Monitors". It now works correctly. Maybe there is a character limit for profile names, I don't know.

Now, I have another problem. With certain software/games, when I'm on the profile that only uses the TV, sometimes the screen profile seems to change and try to switch to the one for my two monitors. It's a bit annoying.

I'm not sure if this is caused by DisplayFusion or another software. Is there a line of code I can add to my functions to prevent this?

Thank you and Happy New Year!
22 days ago  • #8
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Can you try out this test build and see if the issue persists? https://www.binaryfortress.com/Data/Download/?Package=displayfusion&test-11.0.6=1&Log=0
19 days ago  • #9
User Image
EbmNYC
7 discussion posts
Hi,

I tried this version and I got the same issue, so I don't have any clue how to fix it.

Thanks
17 days ago  • #10
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
If you exit DisplayFusion and run your game, does the same issue happen?
16 days ago  • #11
User Image
EbmNYC
7 discussion posts
Hi,

Yes, I did and I got the same issue, so it look like the issue is from the game and not DisplayFusion.

Thank you,
13 days ago  • #12
User Image
EbmNYC
7 discussion posts
Hi,

As I still have the issue, I'm looking for another way to use DisplayFusion. I would like to know if I can create a trigger that automatically switches to my TV as the primary display and shade/fade the other screens when I start a games or using specific software?

Thank you,
7 days ago  • #13
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Yep, you can create a trigger that uses the "Window Created" event, add in the game to the "Process Filename" condition, and then select your functions to load your profile and fade your monitors. We have a guide on creating triggers here: https://www.displayfusion.com/HelpGuide/Triggers/
5 days ago  • #14
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)