<?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: Trigger with multiple instance of an software</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c</link>
<description>DisplayFusion RSS: Trigger with multiple instance of an software</description>
<lastBuildDate>Mon, 25 May 2026 02:31:26 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c</generator>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#13</link>
<pubDate>Wed, 01 Sep 2021 13:55:16 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#13</guid>
<category>DisplayFusion</category>
<description><![CDATA[No worries, glad to hear it!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
No worries, glad to hear it!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#12</link>
<pubDate>Tue, 31 Aug 2021 17:29:47 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#12</guid>
<category>DisplayFusion</category>
<description><![CDATA[Yes, this fixed it! Well mostly. I had to add a few more pauses of 2000 in between launches to give it time to load. Once I did that plus your method everything worked perfectly. Thank you!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Yes, this fixed it! Well mostly. I had to add a few more pauses of 2000 in between launches to give it time to load. Once I did that plus your method everything worked perfectly. Thank you!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#11</link>
<pubDate>Tue, 31 Aug 2021 16:08:47 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#11</guid>
<category>DisplayFusion</category>
<description><![CDATA[@Greg: It's maybe that the app isn't returning an appID. Can you try changing this:
windowHandle = BFS.Application.GetMainWindowByAppID(appID);
to this:
Code
Copy
Select All
BFS.General.ThreadWait(5000);
windowHandle = BFS.Window.GetFocusedWindow();]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
@Greg: It's maybe that the app isn't returning an appID. Can you try changing this:<br/>
<div class="Inline"><pre>windowHandle = BFS.Application.GetMainWindowByAppID(appID);</pre></div><br/>
<br/>
to this:<br/>
<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="#code019e5cf90bbf73e299cd45996d55f872" 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('code019e5cf90bbf73e299cd45996d55f872Js'); 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="code019e5cf90bbf73e299cd45996d55f872Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.General.ThreadWait(5000);
windowHandle = BFS.Window.GetFocusedWindow();</pre><textarea id="code019e5cf90bbf73e299cd45996d55f872" name="code019e5cf90bbf73e299cd45996d55f872" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#10</link>
<pubDate>Tue, 31 Aug 2021 12:06:59 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#10</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello, I'm trying to do this same thing. The script is working quite well, but the two instances do not move to the location they should. both open directly in the center of the screen.
I've included the script I'm using below. Any guidance?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello, I'm trying to do this same thing. The script is working quite well, but the two instances do not move to the location they should. both open directly in the center of the screen. <br/>
<br/>
I've included the script I'm using below. Any guidance?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#9</link>
<pubDate>Sat, 09 Jan 2021 02:12:06 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Could you export the script from your DF settings and attach it so that I can have a quick look at it?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Could you export the script from your DF settings and attach it so that I can have a quick look at it?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#8</link>
<pubDate>Tue, 05 Jan 2021 17:49:52 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[Sorry to dig up this post. I haven't used this script for a while. But now when I use it I only one instance of the software is running. My DisplayFusion Pro and windows 10 is updated with the last version.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<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" />Sorry to dig up this post. I haven't used this script for a while. But now when I use it I only one instance of the software is running. My DisplayFusion Pro and windows 10 is updated with the last version.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#7</link>
<pubDate>Thu, 02 Feb 2017 14:55:32 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Awesome, glad to hear you were able to get it sorted!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Awesome, glad to hear you were able to get it sorted!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#6</link>
<pubDate>Wed, 01 Feb 2017 20:50:04 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Now here the script :
Thanks a lot Mr Keith Lammers for your help !!!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Now here the script :<br/>
Thanks a lot Mr Keith Lammers for your help !!!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#5</link>
<pubDate>Wed, 01 Feb 2017 20:47:25 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks a lot !!! After some unsuccessful test (starting loop of application)
It's working now !!!
The final script posted in next message]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks a lot !!! After some unsuccessful test (starting loop of application) <br/>
It's working now !!! <br/>
The final script posted in next message <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-laugh-squint.light.svg" alt=":D" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":D" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#4</link>
<pubDate>Tue, 31 Jan 2017 20:57:07 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ok, thanks! It wouldn't be possible to distinguish these windows via Triggers, but you could create a Scripted Function to launch each instance and move it to a specific size and location. I've attached a sample for 2 instances. To add more instances to the script, just copy the second one and mo...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, thanks! It wouldn't be possible to distinguish these windows via Triggers, but you could create a Scripted Function to launch each instance and move it to a specific size and location. I've attached a sample for 2 instances. To add more instances to the script, just copy the second one and modify the x, y, width, and height values in the BFS.Window.SetLocation line.<br/>
<br/>
Hope that helps!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#3</link>
<pubDate>Tue, 31 Jan 2017 19:45:05 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Yes, see the screenshots, sorry it's in french because i'm ---------------&gt; french]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Yes, see the screenshots, sorry it's in french because i'm ---------------&gt; french  <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile-wink.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>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>RE: Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#2</link>
<pubDate>Tue, 31 Jan 2017 19:19:06 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Does each one of those windows run in its own process?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Does each one of those windows run in its own process?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
<item>
<title>Trigger with multiple instance of an software</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c</link>
<pubDate>Tue, 31 Jan 2017 18:23:34 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-with-multiple-instance-of-an-software/?ID=4bff33b7-c99d-4586-b2d4-c6b7a910db5c</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi,
I try to create a trigger to automatically switch 6 instance of the same software on my second screen and place them in a defined order. As shown in the attached screenshot.
I managed to place the first window but how to identify the others?
This would help me for my project !]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi,<br/>
I try to create a trigger to automatically switch 6 instance of the same software on my second screen and place them in a defined order. As shown in the attached screenshot.<br/>
I managed to place the first window but how to identify the others?<br/>
<div class="Image"><a href="https://www.dropbox.com/s/iizk4hicsyudanh/CCS64.JPG?dl=0" target="_blank" data-fancybox="" data-caption="https://www.dropbox.com/s/iizk4hicsyudanh/CCS64.JPG?dl=0" HelpButtonData="https://www.dropbox.com/s/iizk4hicsyudanh/CCS64.JPG?dl=0" HelpButtonDataAlign="BelowMiddle"><img src="https://www.dropbox.com/s/iizk4hicsyudanh/CCS64.JPG?dl=0" alt="https://www.dropbox.com/s/iizk4hicsyudanh/CCS64.JPG?dl=0" title=""></a></div><br/>
This would help me for my project !
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=f0677874-fc89-4e0d-9eaf-b93730b54aeb"/>
</item>
</channel>
</rss>