<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: Toggling between monitor profiles with BAT command?</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=f452baa8-99d2-4dbf-84aa-374382e7fc74" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=f452baa8-99d2-4dbf-84aa-374382e7fc74</link>
<description>DisplayFusion RSS: Toggling between monitor profiles with BAT command?</description>
<lastBuildDate>Wed, 08 Apr 2026 00:57:18 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=f452baa8-99d2-4dbf-84aa-374382e7fc74</generator>
<item>
<title>RE: Toggling between monitor profiles with BAT command?</title>
<link>https://www.displayfusion.com/Discussions/View/toggling-between-monitor-profiles-with-bat-command/?ID=f452baa8-99d2-4dbf-84aa-374382e7fc74#2</link>
<pubDate>Fri, 18 Aug 2023 12:32:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/toggling-between-monitor-profiles-with-bat-command/?ID=f452baa8-99d2-4dbf-84aa-374382e7fc74#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[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!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
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.<br/>
<br/>
Hope that helps!
</div>
]]></content:encoded>
</item>
<item>
<title>Toggling between monitor profiles with BAT command?</title>
<link>https://www.displayfusion.com/Discussions/View/toggling-between-monitor-profiles-with-bat-command/?ID=f452baa8-99d2-4dbf-84aa-374382e7fc74</link>
<pubDate>Thu, 17 Aug 2023 20:46:45 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/toggling-between-monitor-profiles-with-bat-command/?ID=f452baa8-99d2-4dbf-84aa-374382e7fc74</guid>
<category>DisplayFusion</category>
<description><![CDATA[I have the following BAT command that runs whenever I press a certain combination off buttons on my Xbox controller:
Code
Copy
Select All
@echo off
start /b "" "C:\Program Files\DisplayFusion\DisplayFusionCommand.exe" -monitorloadprofile "TV"
exit
It simply loads the "TV" monitor profile. ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I have the following BAT command that runs whenever I press a certain combination off buttons on my Xbox controller:<br/>
<br/>
<div id="" class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019d6a97faf172ff9d881d918ed965c8" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019d6a97faf172ff9d881d918ed965c8Js'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019d6a97faf172ff9d881d918ed965c8Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">@echo off
start /b "" "C:\Program Files\DisplayFusion\DisplayFusionCommand.exe" -monitorloadprofile "TV"
exit</pre><textarea id="code019d6a97faf172ff9d881d918ed965c8" name="code019d6a97faf172ff9d881d918ed965c8" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
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.<br/>
<br/>
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.<br/>
<br/>
Is there any way to achieve this?
</div>
]]></content:encoded>
</item>
</channel>
</rss>