<?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: Scripting help for dual monitor setup needed</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02</link>
<description>DisplayFusion RSS: Scripting help for dual monitor setup needed</description>
<lastBuildDate>Mon, 06 Apr 2026 08:03:51 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02</generator>
<item>
<title>RE: Scripting help for dual monitor setup needed</title>
<link>https://www.displayfusion.com/Discussions/View/scripting-help-for-dual-monitor-setup-needed/?ID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02#4</link>
<pubDate>Fri, 01 Apr 2016 17:53:11 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/scripting-help-for-dual-monitor-setup-needed/?ID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Excellent, glad to hear it!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Excellent, glad to hear it!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Scripting help for dual monitor setup needed</title>
<link>https://www.displayfusion.com/Discussions/View/scripting-help-for-dual-monitor-setup-needed/?ID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02#3</link>
<pubDate>Fri, 01 Apr 2016 15:58:59 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/scripting-help-for-dual-monitor-setup-needed/?ID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi Keith,
Indeed, using the trigger feature, after updating to DF 8.0b5,  has solved my problem.
Many thanks for the advice!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi Keith,<br/>
<br/>
Indeed, using the trigger feature, after updating to DF 8.0b5,  has solved my problem.<br/>
<br/>
Many thanks for the advice!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Scripting help for dual monitor setup needed</title>
<link>https://www.displayfusion.com/Discussions/View/scripting-help-for-dual-monitor-setup-needed/?ID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02#2</link>
<pubDate>Fri, 01 Apr 2016 15:45:50 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/scripting-help-for-dual-monitor-setup-needed/?ID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[In the latest beta you can actually do what you're looking for without scripting. We've added a feature called Triggers. You can create a Trigger rule for when the Monitor Profile changes, and have it run any DF function. In your case, running the "Move All Windows to Current Monitor" would be th...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
In the latest beta you can actually do what you're looking for without scripting. We've added a feature called Triggers. You can create a Trigger rule for when the Monitor Profile changes, and have it run any DF function. In your case, running the "Move All Windows to Current Monitor" would be the best function to use. Please see the following guide for more details on Triggers: <a href="https://www.displayfusion.com/KB/WorkingWithTriggers/" target="_blank" rel="nofollow"><b>https://www.displayfusion.com/KB/WorkingWithTriggers/</b></a><br/>
<br/>
Please let me know if you still run into any trouble at all.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>Scripting help for dual monitor setup needed</title>
<link>https://www.displayfusion.com/Discussions/View/scripting-help-for-dual-monitor-setup-needed/?ID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02</link>
<pubDate>Thu, 31 Mar 2016 17:03:31 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/scripting-help-for-dual-monitor-setup-needed/?ID=a6a0e75f-e32c-48af-98ce-eeeee9b2ea02</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi guys,
and thanks in advance for taking the time to read this and maybe help out.
Im running a dual monitor setup, with one monitor being a regular screen and the other one being my TV. Unfortunately, by default, when using both, my regular screen is recognised as display 2 while the TV is di...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi guys,<br/>
<br/>
and thanks in advance for taking the time to read this and maybe help out.<br/>
<br/>
Im running a dual monitor setup, with one monitor being a regular screen and the other one being my TV. Unfortunately, by default, when using both, my regular screen is recognised as display 2 while the TV is display 1.<br/>
<br/>
Im using three DF profiles: Mono (TV deactivated, only the regular screen is used), Dual 1 (both activated, my regular screen is set as primary display) and Dual 2 (the same, but with the TV as primary screen). Since the system recognizes my regular monitor as display 1 whenever I work with the Mono profile, I get the problem, that all opened windows get moved to my TV once I activate any of the dual screen profiles. But I want them to remain where they are, without setting rules for each single app or move each one via Ctrl+Win+X.<br/>
<br/>
Unfortunately, I couldnt find an existing script which would do what I want. Since my programming skills are very limited, I tried learning from other scripts to put together a script which upon profile change will move all windows from the TV (display 1) back to the main monitor (display 2) and also will move all windows to the main monitor when using the Mono profile. Unfortunately, so far it only seems to automatically move the currently visible windows (usually my Chrome browser).<br/>
<br/>
I have attached the script to this post.<br/>
<br/>
I'd be glad if you could give me some advice or provide code for solving this problem <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>
</channel>
</rss>