<?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: Feature Request: Keep Specific Software on Specified Monitors</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=443e8af5-96eb-421e-a659-97e5e5fc8569" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=443e8af5-96eb-421e-a659-97e5e5fc8569</link>
<description>DisplayFusion RSS: Feature Request: Keep Specific Software on Specified Monitors</description>
<lastBuildDate>Mon, 25 May 2026 00:52:10 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=443e8af5-96eb-421e-a659-97e5e5fc8569</generator>
<item>
<title>RE: Feature Request: Keep Specific Software on Specified Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#8</link>
<pubDate>Sun, 01 Nov 2015 10:50:24 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[//Because the forum is being dumb, replace the {} at the end of the below line with []
BFS.Window.MoveToMonitor(2, handles{i});
Possibly..
it needs to say Handles[ i ] (without spaces]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
//Because the forum is being dumb, replace the {} at the end of the below line with []<br/>
BFS.Window.MoveToMonitor(2, handles{i});<br/>
<br/>
Possibly..<br/>
it needs to say Handles[ i ] (without spaces
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Feature Request: Keep Specific Software on Specified Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#7</link>
<pubDate>Sat, 31 Oct 2015 23:17:18 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[----
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
//Put the number of screens you have here V excluding your tv.
if (BFS.Monitor.GetMonitorIDs().Length &gt...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
----<br/>
using System;<br/>
using System.Collections.Generic;<br/>
using System.Drawing;<br/>
using System.IO;<br/>
<br/>
public static class DisplayFusionFunction<br/>
{<br/>
public static void Run(IntPtr windowHandle)<br/>
{<br/>
<br/>
//Put the number of screens you have here V excluding your tv.<br/>
if (BFS.Monitor.GetMonitorIDs().Length &gt;  1)<br/>
{<br/>
//Put the name of your profile that doesnt include your TV where "Bed" is<br/>
BFS.DisplayFusion.LoadMonitorProfile("Dual Monitor");<br/>
<br/>
}<br/>
else<br/>
{<br/>
//put the name of the profile including your extra TV where "Desk" is<br/>
BFS.DisplayFusion.LoadMonitorProfile("Main + TV");<br/>
<br/>
IntPtr[] handles = BFS.Window.GetVisibleWindowHandles();<br/>
BFS.General.Sleep(100);<br/>
for (int i = 0; i &lt; handles.Length; i++)<br/>
//Because the forum is being dumb, replace the {} at the end of the below line with []<br/>
BFS.Window.MoveToMonitor(2, handles{i});<br/>
}<br/>
<br/>
}<br/>
}<br/>
-----------<br/>
<br/>
It doesn't seem to work, or I didn't do it right. Any idea on what I did wrong?  <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-meh.light.svg" alt=":|" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":|" HelpButtonDataAlign="BelowMiddle" /> I did replace {i} with brackets as well. I'm not familiar with scripting.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Feature Request: Keep Specific Software on Specified Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#6</link>
<pubDate>Thu, 29 Oct 2015 22:25:59 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks! I'll give it a shot and I'll update on how it goes.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks! I'll give it a shot and I'll update on how it goes.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Feature Request: Keep Specific Software on Specified Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#5</link>
<pubDate>Thu, 29 Oct 2015 20:09:35 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks for posting that Jcee!
Did you get that error when trying to paste the code without the CODE tags?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for posting that Jcee!<br/>
<br/>
Did you get that error when trying to paste the code without the CODE tags?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Feature Request: Keep Specific Software on Specified Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#4</link>
<pubDate>Thu, 29 Oct 2015 08:51:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Code
Copy
Select All
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
//Put the number of screens you have here V excluding your tv.
if (BFS.Monitor.GetMonit...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div 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="#code019e5c9e2cbd744fb920cf7b96c5acb4" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019e5c9e2cbd744fb920cf7b96c5acb4Js'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;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="code019e5c9e2cbd744fb920cf7b96c5acb4Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;

public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{

//Put the number of screens you have here V excluding your tv.
if (BFS.Monitor.GetMonitorIDs().Length &gt;  1)
{
//Put the name of your profile that doesnt include your TV where "Bed" is
BFS.DisplayFusion.LoadMonitorProfile("Bed");

}
else
{
//put the name of the profile including your extra TV where "Desk" is
BFS.DisplayFusion.LoadMonitorProfile("Desk");

IntPtr[] handles = BFS.Window.GetVisibleWindowHandles();
BFS.General.Sleep(100);
for (int i = 0; i &lt; handles.Length; i++)
//Because the forum is being dumb, replace the {} at the end of the below line with []
BFS.Window.MoveToMonitor(2, handles{i});
}

}
}</pre><textarea id="code019e5c9e2cbd744fb920cf7b96c5acb4" name="code019e5c9e2cbd744fb920cf7b96c5acb4" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
This might suite your needs, it moves everything to your primary monitor after loading one of 2 monitor profiles <br/>
Any line with a // is a comment, and needs your specific info<br/>
<br/>
Also @ keith: Im recieving an error "You have an open {i} with no matching closing {/i} tag preventing me from posting the CODE without amendment
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Feature Request: Keep Specific Software on Specified Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#3</link>
<pubDate>Wed, 28 Oct 2015 20:47:49 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[It's usually with about 4-5 programs that i have to switch back over whenever I change profiles. For instance, I have 2 monitors and a TV that's behind me. Whenever I switch to a profile that includes the TV most of the programs I have open will automatically switch to the TV, when I would rather...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
It's usually with about 4-5 programs that i have to switch back over whenever I change profiles. For instance, I have 2 monitors and a TV that's behind me. Whenever I switch to a profile that includes the TV most of the programs I have open will automatically switch to the TV, when I would rather it stay on one of my dual monitors.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Feature Request: Keep Specific Software on Specified Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#2</link>
<pubDate>Wed, 28 Oct 2015 20:21:59 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[How many applications do you want to do this for? This may be possible with a Scripted Function]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
How many applications do you want to do this for? This may be possible with a Scripted Function <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>Feature Request: Keep Specific Software on Specified Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569</link>
<pubDate>Tue, 27 Oct 2015 05:04:34 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-keep-specific-software-on-specified-monitors/?ID=443e8af5-96eb-421e-a659-97e5e5fc8569</guid>
<category>DisplayFusion</category>
<description><![CDATA[I understand we already have the feature to have software open on specified monitors, but if the software is already open and I'm simply changing monitor profiles I'd like certain ones to stay on the monitors I want. Sorry if this sounds confusing, but this would be a really great addition to Dis...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I understand we already have the feature to have software open on specified monitors, but if the software is already open and I'm simply changing monitor profiles I'd like certain ones to stay on the monitors I want. Sorry if this sounds confusing, but this would be a really great addition to DisplayFusion!
</div>
]]></content:encoded>
</item>
</channel>
</rss>