<?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: BFS.DisplayFusion.RunFunction taking/returning extra data</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=21359cbc-50ba-4292-bf22-ea3b3386362d" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=21359cbc-50ba-4292-bf22-ea3b3386362d</link>
<description>DisplayFusion RSS: BFS.DisplayFusion.RunFunction taking/returning extra data</description>
<lastBuildDate>Sun, 19 Apr 2026 12:06:05 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=21359cbc-50ba-4292-bf22-ea3b3386362d</generator>
<item>
<title>RE: BFS.DisplayFusion.RunFunction taking/returning extra data</title>
<link>https://www.displayfusion.com/Discussions/View/bfsdisplayfusionrunfunction-takingreturning-extra-data/?ID=21359cbc-50ba-4292-bf22-ea3b3386362d#4</link>
<pubDate>Fri, 24 Aug 2018 15:50:25 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/bfsdisplayfusionrunfunction-takingreturning-extra-data/?ID=21359cbc-50ba-4292-bf22-ea3b3386362d#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[We've just released a new DisplayFusion beta version (https://www.displayfusion.com/Download/Beta/) and there are now two new scripting functions:
RunFunctionAndWait
RunFunctionAndWaitWithWindowHandle
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
We've just released a new DisplayFusion beta version (<a href="https://www.displayfusion.com/Download/Beta/" target="_blank" rel="nofollow"><b>https://www.displayfusion.com/Download/Beta/</b></a>) and there are now two new scripting functions:<br/>
<br/>
RunFunctionAndWait<br/>
RunFunctionAndWaitWithWindowHandle<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: BFS.DisplayFusion.RunFunction taking/returning extra data</title>
<link>https://www.displayfusion.com/Discussions/View/bfsdisplayfusionrunfunction-takingreturning-extra-data/?ID=21359cbc-50ba-4292-bf22-ea3b3386362d#3</link>
<pubDate>Tue, 31 Jul 2018 18:42:27 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/bfsdisplayfusionrunfunction-takingreturning-extra-data/?ID=21359cbc-50ba-4292-bf22-ea3b3386362d#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks for the feedback! I'll pass these suggestions along to the devs and see if they can put them in.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for the feedback! I'll pass these suggestions along to the devs and see if they can put them in.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: BFS.DisplayFusion.RunFunction taking/returning extra data</title>
<link>https://www.displayfusion.com/Discussions/View/bfsdisplayfusionrunfunction-takingreturning-extra-data/?ID=21359cbc-50ba-4292-bf22-ea3b3386362d#2</link>
<pubDate>Tue, 31 Jul 2018 09:25:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/bfsdisplayfusionrunfunction-takingreturning-extra-data/?ID=21359cbc-50ba-4292-bf22-ea3b3386362d#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ok after struggling some time to do it using temporary files,
I found out that I can pass variables amongst scripted functions (nice to build sub-functions bricks)
using the https://www.displayfusion.com/ScriptedFunctions/Help/#bfs_scriptsettings
This should definitly be described in the
http...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok after struggling some time to do it using temporary files, <br/>
I found out that I can pass variables amongst scripted functions (nice to build sub-functions bricks)<br/>
using the <a href="https://www.displayfusion.com/ScriptedFunctions/Help/#bfs_scriptsettings" target="_blank" rel="nofollow"><b>https://www.displayfusion.com/ScriptedFunctions/Help/#bfs_scriptsettings</b></a><br/>
<br/>
This should definitly be described in the<br/>
<a href="https://www.displayfusion.com/ScriptedFunctions/Help/#bfs_displayfusion_runfunction" target="_blank" rel="nofollow"><b>https://www.displayfusion.com/ScriptedFunctions/Help/#bfs_displayfusion_runfunction</b></a><br/>
section of online help.<br/>
<br/>
By the way I discovered during my tests that the RunFunction is not synchronous but asynchronous!<br/>
(Because offre this my main function was reading the variable I was setting in my sub function before the sub function was setting it...)<br/>
<br/>
This is quite error-prone and should be indicated <span style="text-decoration:underline;">with a big warning</span> in the RunFunction (and probably RunFunctionWithWindowHandle) online help<br/>
<br/>
=&gt; I had to use another variable as a flag to indicate the sub-function completion and have the main function loop until the sub-function flag is set to synchronyze both functions : I think a synchronous RunFunction-like function should be useful if added to the current function list.
</div>
]]></content:encoded>
</item>
<item>
<title>BFS.DisplayFusion.RunFunction taking/returning extra data</title>
<link>https://www.displayfusion.com/Discussions/View/bfsdisplayfusionrunfunction-takingreturning-extra-data/?ID=21359cbc-50ba-4292-bf22-ea3b3386362d</link>
<pubDate>Mon, 30 Jul 2018 12:47:13 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/bfsdisplayfusionrunfunction-takingreturning-extra-data/?ID=21359cbc-50ba-4292-bf22-ea3b3386362d</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
Would it be possible to improve or add another RunFunction so that extra variables could be passed in as arguments or returned as arguments?
That would be useful when calling another scripted function.
Best Regards,
Manuel Rozier de Linage]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
Would it be possible to improve or add another RunFunction so that extra variables could be passed in as arguments or returned as arguments?<br/>
That would be useful when calling another scripted function.<br/>
<br/>
Best Regards,<br/>
Manuel Rozier de Linage
</div>
]]></content:encoded>
</item>
</channel>
</rss>