<?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: Custom Function, Move window to specified location - unexpected behaviour</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=7f7aa625-53e4-475a-8527-739601d26262" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=7f7aa625-53e4-475a-8527-739601d26262</link>
<description>DisplayFusion RSS: Custom Function, Move window to specified location - unexpected behaviour</description>
<lastBuildDate>Tue, 02 Jun 2026 12:33:40 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=7f7aa625-53e4-475a-8527-739601d26262</generator>
<item>
<title>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#11</link>
<pubDate>Tue, 24 May 2016 19:32:51 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#11</guid>
<category>DisplayFusion</category>
<description><![CDATA[No problem, glad to hear it!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
No problem, glad to hear it!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#10</link>
<pubDate>Tue, 24 May 2016 17:26:09 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#10</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks so much Keith!  This fixed the problem for me!  I've updated all instances where I called custom window resize functions to use RunFunctionWithWindowHandle and it all works as intended now!  Thanks again! =)  Derek.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks so much Keith!  This fixed the problem for me!  I've updated all instances where I called custom window resize functions to use RunFunctionWithWindowHandle and it all works as intended now!  Thanks again! =)  Derek.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#9</link>
<pubDate>Tue, 24 May 2016 16:28:09 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ah sorry, it should have been RunFunctionWithWindowHandle. I've updated the previous post with the correct code]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ah sorry, it should have been RunFunctionWithWindowHandle. I've updated the previous post with the correct code <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>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#8</link>
<pubDate>Sat, 21 May 2016 00:16:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi Keith!  I just tried this but get the compile error:
Compile Failed.
Line 44: No overload for method 'RunFunction' takes 2 arguments
Thanks again for your help with this!  Derek.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi Keith!  I just tried this but get the compile error: <br/>
<br/>
Compile Failed.<br/>
Line 44: No overload for method 'RunFunction' takes 2 arguments<br/>
<br/>
Thanks again for your help with this!  Derek.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#7</link>
<pubDate>Fri, 20 May 2016 18:17:46 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks! Can you try changing the last line of the Chrome script to the following?
Code
Copy
Select All
BFS.DisplayFusion.RunFunctionWithWindowHandle("Chrome Resize", mainWindow);]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks! Can you try changing the last line of the Chrome script to the following?<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="#code019e88534aa577d9b0d827873cb078c5" 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('code019e88534aa577d9b0d827873cb078c5Js'); 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="code019e88534aa577d9b0d827873cb078c5Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.DisplayFusion.RunFunctionWithWindowHandle("Chrome Resize", mainWindow);</pre><textarea id="code019e88534aa577d9b0d827873cb078c5" name="code019e88534aa577d9b0d827873cb078c5" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#6</link>
<pubDate>Thu, 19 May 2016 00:35:13 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks Keith!  Here is the troubleshooting file!  Derek.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks Keith!  Here is the troubleshooting file!  Derek.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#5</link>
<pubDate>Thu, 19 May 2016 00:05:30 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks! Could you attach a copy of your troubleshooting info as well? Here are the steps:
Open the Settings  Troubleshooting tab
Click the "Copy to Clipboard" button
Paste the text into a text file (please don't paste the text directly into your reply, the formatting gets garbled and makes it ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks! Could you attach a copy of your troubleshooting info as well? Here are the steps:<br/>
<ul class="ListBullet">
<li>Open the Settings > Troubleshooting tab</li>
<li>Click the "Copy to Clipboard" button</li>
<li>Paste the text into a text file (please don't paste the text directly into your reply, the formatting gets garbled and makes it difficult to parse)</li>
<li>Reply with the file attached</li></ul>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#4</link>
<pubDate>Mon, 16 May 2016 20:23:16 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Here are the other custom functions, thanks again!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Here are the other custom functions, thanks again!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#3</link>
<pubDate>Mon, 16 May 2016 20:22:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks for your help Keith!
I'm attaching the code as a text file as the forums were returning an error with what it thought were italics tags in the code.  Apologies for the rough code, it's not the best but it did work =)
There are two more attachments, I think I have to make a new reply for ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for your help Keith!<br/>
<br/>
I'm attaching the code as a text file as the forums were returning an error with what it thought were italics tags in the code.  Apologies for the rough code, it's not the best but it did work =)<br/>
<br/>
There are two more attachments, I think I have to make a new reply for that.<br/>
<br/>
Thanks again!<br/>
<br/>
Derek.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#2</link>
<pubDate>Mon, 16 May 2016 19:48:51 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Could you attach a copy of your Scripted Function code, as well as screenshots of the Custom Functions? I'll test them out here to see what I can find out
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Could you attach a copy of your Scripted Function code, as well as screenshots of the Custom Functions? I'll test them out here to see what I can find out <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" /><br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>Custom Function, Move window to specified location - unexpected behaviour</title>
<link>https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262</link>
<pubDate>Fri, 13 May 2016 21:03:57 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/custom-function-move-window-to-specified-location-unexpected-behaviour/?ID=7f7aa625-53e4-475a-8527-739601d26262</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi!
I have a scripted function that calls two Custom Functions to 'Move window to specified location' with the following settings:
Position X: 0
Position Y:  0
Width Value: 2491
Height Value: 1374
But for some reason when I call the function through a script with: BFS.DisplayFusion.RunFunct...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi!<br/>
<br/>
I have a scripted function that calls two Custom Functions to 'Move window to specified location' with the following settings:<br/>
<br/>
Position X: 0<br/>
Position Y:  0<br/>
Width Value: 2491<br/>
Height Value: 1374<br/>
<br/>
But for some reason when I call the function through a script with: BFS.DisplayFusion.RunFunction() it incorrectly places the window at:<br/>
<br/>
Position X: 0<br/>
Position Y:  0<br/>
Width Value: 1851<br/>
Height Value: 1014<br/>
<br/>
The function used to work fine in a previous version of Display Fusion (possibly prior to Windows 10) so there must be some change I'm missing.<br/>
<br/>
Thanks so much for your help with this!  I'm stumped!<br/>
<br/>
Derek.
</div>
]]></content:encoded>
</item>
</channel>
</rss>