<?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: Adding commands to my script</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=0191f5d7-ef31-7192-a751-f3775b5a5ea5" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=0191f5d7-ef31-7192-a751-f3775b5a5ea5</link>
<description>DisplayFusion RSS: Adding commands to my script</description>
<lastBuildDate>Wed, 20 May 2026 06:10:20 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=0191f5d7-ef31-7192-a751-f3775b5a5ea5</generator>
<item>
<title>RE: Adding commands to my script</title>
<link>https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#8</link>
<pubDate>Fri, 20 Sep 2024 17:33:09 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[The windowHandle variable will be whatever window is currently focused, which should be the window you've just launched. Try adding a 1 or 2 second delay before the minimize line, maybe it's trying to run too quick]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
The windowHandle variable will be whatever window is currently focused, which should be the window you've just launched. Try adding a 1 or 2 second delay before the minimize line, maybe it's trying to run too quick
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Adding commands to my script</title>
<link>https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#7</link>
<pubDate>Fri, 20 Sep 2024 08:25:53 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[So I got the postion mouse and left click to work but for some reason I can't get the minimized function to work.
I'm guessing it's beacuse of the windowhandle. How can I find out what is the windowhandle of a certaion application?
Thanks for your patience]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
So I got the postion mouse and left click to work but for some reason I can't get the minimized function to work.<br/>
I'm guessing it's beacuse of the windowhandle. How can I find out what is the windowhandle of a certaion application?<br/>
Thanks for your patience <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-grin-tongue.light.svg" alt=":P" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":P" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Adding commands to my script</title>
<link>https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#6</link>
<pubDate>Tue, 17 Sep 2024 14:52:43 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Adding commands to my script</title>
<link>https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#5</link>
<pubDate>Tue, 17 Sep 2024 14:38:21 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[This line will do that for you, the timer is in milliseconds:
Code
Copy
Select All
BFS.General.ThreadWait(5000);]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
This line will do that for you, the timer is in milliseconds: <br/>
<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="#code019e4401a934775a80932a4bcd4832ff" 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('code019e4401a934775a80932a4bcd4832ffJs'); 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="code019e4401a934775a80932a4bcd4832ffJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.General.ThreadWait(5000);</pre><textarea id="code019e4401a934775a80932a4bcd4832ff" name="code019e4401a934775a80932a4bcd4832ff" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Adding commands to my script</title>
<link>https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#4</link>
<pubDate>Mon, 16 Sep 2024 17:28:59 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[and also, how can I add a 5 second delay before it clicks the leftbutton on the desired location to make sure the app is fully loaded?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
and also, how can I add a 5 second delay before it clicks the leftbutton on the desired location to make sure the app is fully loaded?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Adding commands to my script</title>
<link>https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#3</link>
<pubDate>Mon, 16 Sep 2024 17:27:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks, I'll try it out]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks, I'll try it out
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Adding commands to my script</title>
<link>https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#2</link>
<pubDate>Mon, 16 Sep 2024 12:30:42 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
1. This line will do that for you:
Code
Copy
Select All
BFS.Window.Minimize(windowHandle);
2. If it's opening to the exact same location every time, you can use this line to move the mouse to the specific coordinates of the play button:
Code
Copy
Select All
BFS.Input.SetMousePosi...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
<br/>
1. This line will do that for you: <br/>
<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="#code019e4401a9487707931743dcebc43fdc" 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('code019e4401a9487707931743dcebc43fdcJs'); 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="code019e4401a9487707931743dcebc43fdcJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Window.Minimize(windowHandle);</pre><textarea id="code019e4401a9487707931743dcebc43fdc" name="code019e4401a9487707931743dcebc43fdc" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
2. If it's opening to the exact same location every time, you can use this line to move the mouse to the specific coordinates of the play button: <br/>
<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="#code019e4401a94b71b9b567655fcc7d6660" 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('code019e4401a94b71b9b567655fcc7d6660Js'); 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="code019e4401a94b71b9b567655fcc7d6660Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Input.SetMousePosition(100, 100);</pre><textarea id="code019e4401a94b71b9b567655fcc7d6660" name="code019e4401a94b71b9b567655fcc7d6660" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
and then this line to send a left click:<br/>
<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="#code019e4401a94d7728acdc0a8a587780b6" 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('code019e4401a94d7728acdc0a8a587780b6Js'); 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="code019e4401a94d7728acdc0a8a587780b6Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Input.LeftClickMouse();</pre><textarea id="code019e4401a94d7728acdc0a8a587780b6" name="code019e4401a94d7728acdc0a8a587780b6" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Hope that helps!
</div>
]]></content:encoded>
</item>
<item>
<title>Adding commands to my script</title>
<link>https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5</link>
<pubDate>Sun, 15 Sep 2024 13:20:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/adding-commands-to-my-script/?ID=0191f5d7-ef31-7192-a751-f3775b5a5ea5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi all,
I'm currently using the "Launch an Application and Move it to a Specific Location" script. I would like to add 2 more options to that script:
1) This should be simple I imagine: For some of the apps that launch with the script I would like to have them launched and then minimized. What ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi all,<br/>
I'm currently using the "Launch an Application and Move it to a Specific Location" script. I would like to add 2 more options to that script:<br/>
<br/>
1) This should be simple I imagine: For some of the apps that launch with the script I would like to have them launched and then minimized. What command line should I add to do that?<br/>
<br/>
2) This is probably more compilacated but I imagine it's still doable: For some programs that launch I would like to set up an option that auto clicks a certain button on the app interface so for example lets say I have Spotify as one of the apps to launch in my script so I would like to add a command that after it launches it waits 5 seconds to fully load and then I would like to have the play button auto-clicked. Is this something that can be done?
</div>
]]></content:encoded>
</item>
</channel>
</rss>