<?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: Prevent Window Deactivation wont work if called from scripted function</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=70fce395-030e-4015-9def-d252ee0deaf2" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=70fce395-030e-4015-9def-d252ee0deaf2</link>
<description>DisplayFusion RSS: Prevent Window Deactivation wont work if called from scripted function</description>
<lastBuildDate>Thu, 21 May 2026 08:22:44 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=70fce395-030e-4015-9def-d252ee0deaf2</generator>
<item>
<title>RE: Prevent Window Deactivation wont work if called from scripted function</title>
<link>https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#7</link>
<pubDate>Mon, 25 Jul 2016 19:14:56 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Yep! It will use the window handle of whichever window has focus when the function is run]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Yep! It will use the window handle of whichever window has focus when the function is run <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: Prevent Window Deactivation wont work if called from scripted function</title>
<link>https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#6</link>
<pubDate>Sun, 24 Jul 2016 19:24:53 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hey!
I just saw this into the changelog for DisplayFusion v8.0 beta 10:
"Fix: BFS.DisplayFusion.RunFunction() now passes in the function's window handle by default"
That means that if I update in my function now I can simply use the runfunction command and it will work just fine also with the ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hey!<br/>
I just saw this into the changelog for DisplayFusion v8.0 beta 10:<br/>
"Fix: BFS.DisplayFusion.RunFunction() now passes in the function's window handle by default"<br/>
<br/>
That means that if I update in my function now I can simply use the runfunction command and it will work just fine also with the prevent window deactivation function?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Prevent Window Deactivation wont work if called from scripted function</title>
<link>https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#5</link>
<pubDate>Tue, 05 Jul 2016 19:32:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#5</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: Prevent Window Deactivation wont work if called from scripted function</title>
<link>https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#4</link>
<pubDate>Tue, 05 Jul 2016 19:07:43 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hey, I just tried that and it works perfectly .
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hey, I just tried that and it works perfectly <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" />.<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Prevent Window Deactivation wont work if called from scripted function</title>
<link>https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#3</link>
<pubDate>Tue, 05 Jul 2016 18:34:47 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quick test: If you change the Prevent Window Deactivation line to the following, does it work?
Code
Copy
Select All
BFS.DisplayFusion.RunFunctionWithWindowHandle("Previeni Disattivazione Finestra (mantiene le finestre dei giochi attive)", windowHandle);]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Quick test: If you change the Prevent Window Deactivation line to the following, does it work?<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="#code019e49a13e6f70eaa1bf3431e21965f8" 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('code019e49a13e6f70eaa1bf3431e21965f8Js'); 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="code019e49a13e6f70eaa1bf3431e21965f8Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.DisplayFusion.RunFunctionWithWindowHandle("Previeni Disattivazione Finestra (mantiene le finestre dei giochi attive)", windowHandle);</pre><textarea id="code019e49a13e6f70eaa1bf3431e21965f8" name="code019e49a13e6f70eaa1bf3431e21965f8" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Prevent Window Deactivation wont work if called from scripted function</title>
<link>https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#2</link>
<pubDate>Mon, 04 Jul 2016 19:42:03 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Interesting! We'll test this out here and see what we can find.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Interesting! We'll test this out here and see what we can find.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>Prevent Window Deactivation wont work if called from scripted function</title>
<link>https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2</link>
<pubDate>Sat, 02 Jul 2016 10:05:47 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/prevent-window-deactivation-wont-work-if-called-from-scripted-function/?ID=70fce395-030e-4015-9def-d252ee0deaf2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello everyone!
I'm using DisplayFusion Pro (steam) version 8.0 Beta 9.
I just wanted to report a little bug:
If I call the function Prevent Window Deactivation during a scripted function it doesnt work, I need to use a hotkey only for that specific function and then another hotkey for my scri...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello everyone!<br/>
I'm using DisplayFusion Pro (steam) version 8.0 Beta 9.<br/>
I just wanted to report a little bug:<br/>
If I call the function Prevent Window Deactivation during a scripted function it doesnt work, I need to use a hotkey only for that specific function and then another hotkey for my scripted function.<br/>
<br/>
The rest of the script just works fine, it only "skips" the prevent deactivation window function.<br/>
<br/>
Here's the code (btw I'm using the italian version so the names of the functions are in italian)<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="#code019e49a13e7d76bd8453062432e05509" 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('code019e49a13e7d76bd8453062432e05509Js'); 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="code019e49a13e7d76bd8453062432e05509Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
BFS.DisplayFusion.RunFunction("Previeni Disattivazione Finestra (mantiene le finestre dei giochi attive)");
BFS.DisplayFusion.RunFunction("Blocca/Sblocca il Cursore del Mouse dal Monitor Corrente");
BFS.DisplayFusion.RunFunction("Muovi il Cursore del Mouse nel Precedente Monitor");
}
}</pre><textarea id="code019e49a13e7d76bd8453062432e05509" name="code019e49a13e7d76bd8453062432e05509" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Anyway thanks for this amazing software  <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>
</channel>
</rss>