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
Chasse Court26463
6 discussion posts
I notice that Display Fusion supports scripting and I tried to find an API but all I managed to find was a discussion about if the scripting could be integrated into visual studio.
My Situation is this, I have four monitors 3 on my 4090 and one on the iGPU of my 7950X3D.
The three main monitors are:
2:Viewsonic XG2703GS NONHDR
3:Alienware AW3423DW HDR
1:Viewsonic XG2703GS NONHDR
What I need is the ablility to run most but not all of my games on Display 3.
I don't fully understand all the workings of Display Fusion but have been told it should be able to pull off the following for a given list of software ( or in the case of steam games URLs )

Some Psuedocode

Code

Make a copy of the display settings.
    If backing up the display properties worked
        Set a specific monitor to be primary ( in this case Display 3 )
        Move the Steam Window to the primary monitor.
        Disable the two displays which are not primary. ( not absolutely nessesary but would be nice )
        Launch a specified Steam game.
        << Let the user play the game >>
        When the game closes
        Restore the display settings
        ( the primary display should in theory be restored by doing this )

I was looking to find the API to do it myself ... can I do it - possibly provided the documentation is very specific. Do I need to do it yes, as the current situation with trying to control output from games while still doing everything else is painful.
I also have one game that only wants to launch on the iGPU and the only way to stop it is to reboot into BIOS forcably disable the iGPU let windows load and then use DDU to forcably remove the drivers for it.. Not really a great option..

So some help and / or pointing in the right directions would be appreciated.
Jun 7, 2023  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
We have a similar script here that is used to switch audio devices, but you can modify it to load monitor profiles to adjust your display settings instead: https://www.displayfusion.com/ScriptedFunctions/View/?ID=355c7c5c-4348-47db-8333-b60a5ae2631e

You can find our guide on monitor profiles here: https://www.displayfusion.com/HelpGuide/WorkingWithDisplayFusionMonitorProfiles/

You can use this line to load your monitor profile once you have it setup:

Code

BFS.DisplayFusion.LoadMonitorProfile("MonitorProfileName");
3

Hope that helps!
Jun 7, 2023  • #2
User Image
Chasse Court26463
6 discussion posts
Quote:
We have a similar script here that is used to switch audio devices, but you can modify it to load monitor profiles to adjust your display settings instead: https://www.displayfusion.com/ScriptedFunctions/View/?ID=355c7c5c-4348-47db-8333-b60a5ae2631e

You can find our guide on monitor profiles here: https://www.displayfusion.com/HelpGuide/WorkingWithDisplayFusionMonitorProfiles/

You can use this line to load your monitor profile once you have it setup:

Code

BFS.DisplayFusion.LoadMonitorProfile("MonitorProfileName");
3

Hope that helps!


Hi, Thanks for the response.
I have been going through the functions after having found them last night, did not expect the API to start with BFS and then I realized Binary Fortress Software... DUH. I do note however that there don't seem to be any functions for disabling monitors, not quite sure how I am going to do that barring having two different monitor profiles, one with them all enabled and one with only the Alienware enabled - maybe?
Jun 7, 2023  • #3
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Yep, monitor profiles with the monitors you would like enabled/disabled should do the trick
Jun 8, 2023  • #4
User Image
Chasse Court26463
6 discussion posts
Any possability that the revert settings dialog can be disabled?
Jun 9, 2023  • #5
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
You can disable that via the DisplayFusion Advanced Settings > Monitor Configuration > Don't Show Confirmation Prompt
Jun 9, 2023  • #6
User Image
Chasse Court26463
6 discussion posts
Quote:
You can disable that via the DisplayFusion Advanced Settings > Monitor Configuration > Don't Show Confirmation Prompt


Hi thanks for the response, I just got around to doing this yesterday in preperation for writing a script I have disabled both the scripted and the manual version.

Cheers for the help.
Jun 24, 2023 (modified Jun 24, 2023)  • #7
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(1)  Login to Vote(-)