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
tobey g
4 discussion posts
I have the following BAT command that runs whenever I press a certain combination off buttons on my Xbox controller:

Code

@echo off
start /b "" "C:\Program Files\DisplayFusion\DisplayFusionCommand.exe" -monitorloadprofile "TV"
exit


It simply loads the "TV" monitor profile. I was wondering if there is a way to somehow toggle between two profiles using the same command? I have "Desktop" and "TV", so I'm thinking that if the command runs and "Desktop" is the active one, it should change to "TV" and vice versa.

I tried looking for ways through DisplayFusionCommand.exe to somehow fetch the current monitor profile, in that case I could have a conditional in the BAT that checks which one of the profiles that are active and loads the inactive of the two. But it doesn't seem like that is possible.

Is there any way to achieve this?
Aug 17, 2023  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
I've attached a script below that should do this. You can import it via the DisplayFusion Settings > Functions > Scripted Function > Import Scripted Function, and then use the "-functionrun" argument in the command line tool to run it.

Hope that helps!
Aug 18, 2023  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)