<?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: Scripted Functions don't work anymore</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=01951f14-297d-77a8-88ee-20b474534a45" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=01951f14-297d-77a8-88ee-20b474534a45</link>
<description>DisplayFusion RSS: Scripted Functions don't work anymore</description>
<lastBuildDate>Thu, 03 Sep 2026 12:56:29 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=01951f14-297d-77a8-88ee-20b474534a45</generator>
<item>
<title>RE: Scripted Functions don't work anymore</title>
<link>https://www.displayfusion.com/Discussions/View/scripted-functions-dont-work-anymore/?ID=01951f14-297d-77a8-88ee-20b474534a45#4</link>
<pubDate>Mon, 24 Feb 2025 18:33:15 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/scripted-functions-dont-work-anymore/?ID=01951f14-297d-77a8-88ee-20b474534a45#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks, that solved the problem. And I think I know how it broke:
I had the 'Microsoft Windows Desktop Runtime - 8.0.5 (x64)' installed. Sometime in the last weeks a Print&Scan utility from Brother installed an update and with that it installed 'Microsoft Windows Desktop Runtime - 8.0.13 (x86)'....]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks, that solved the problem. And I think I know how it broke:<br/>
<br/>
I had the 'Microsoft Windows Desktop Runtime - 8.0.5 (x64)' installed. Sometime in the last weeks a Print&Scan utility from Brother installed an update and with that it installed 'Microsoft Windows Desktop Runtime - 8.0.13 (<b>x86</b>)'. <br/>
The '8.0.5 (x64)'-version was still there, but it seems that DisplayFusion could not use it anymore.<br/>
<br/>
I installed the 'Microsoft Windows Desktop Runtime - 8.0.13 (<b>x64</b>)' which you recommended and now DisplayFusion works again.<br/>
The x86 and x64 runtime are now installed side-by-side because the Brother utility needs the x86-version.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Scripted Functions don't work anymore</title>
<link>https://www.displayfusion.com/Discussions/View/scripted-functions-dont-work-anymore/?ID=01951f14-297d-77a8-88ee-20b474534a45#3</link>
<pubDate>Mon, 24 Feb 2025 15:17:47 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/scripted-functions-dont-work-anymore/?ID=01951f14-297d-77a8-88ee-20b474534a45#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Can you re-run the .net desktop runtime here, and then restart DisplayFusion and see if the issue persists? https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.13-windows-x64-installer]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Can you re-run the .net desktop runtime here, and then restart DisplayFusion and see if the issue persists? <a href="https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.13-windows-x64-installer" target="_blank" rel="nofollow"><b>https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.13-windows-x64-installer</b></a>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Scripted Functions don't work anymore</title>
<link>https://www.displayfusion.com/Discussions/View/scripted-functions-dont-work-anymore/?ID=01951f14-297d-77a8-88ee-20b474534a45#2</link>
<pubDate>Sun, 23 Feb 2025 19:37:43 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/scripted-functions-dont-work-anymore/?ID=01951f14-297d-77a8-88ee-20b474534a45#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Any feedback on this? Does anybody else have that problem?
Maybe a Microsoft update problem again?
I made some tests today. In February Miccrosoft installed two updates:
KB5050576 and KB5051974.
A system-image from February 2nd works fine. After starting Windows update now these two updates a...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Any feedback on this? Does anybody else have that problem?<br/>
<br/>
Maybe a Microsoft update problem again?<br/>
I made some tests today. In February Miccrosoft installed two updates:<br/>
KB5050576 and KB5051974.<br/>
<br/>
A system-image from February 2nd works fine. After starting Windows update now these two updates are installed:<br/>
KB5049621 & K85049981. It seems that the previous updates have been replaced.<br/>
And the observed issue is gone.
</div>
]]></content:encoded>
</item>
<item>
<title>Scripted Functions don't work anymore</title>
<link>https://www.displayfusion.com/Discussions/View/scripted-functions-dont-work-anymore/?ID=01951f14-297d-77a8-88ee-20b474534a45</link>
<pubDate>Wed, 19 Feb 2025 16:39:30 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/scripted-functions-dont-work-anymore/?ID=01951f14-297d-77a8-88ee-20b474534a45</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
all my scripted functions stopped working on my PC (Windows 10 Pro, 22H2). They still work on my laptop.
If I add a new scripted function, I get this template:
Code
Copy
Select All
using System;&#xA;using System.Drawing;&#xA;&#xA;// The &#x27;windowHandle&#x27; parameter will contain...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
<br/>
all my scripted functions stopped working on my PC (Windows 10 Pro, 22H2). They still work on my laptop.<br/>
If I add a new scripted function, I get this template:<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="#code01a06757990574ada1c16bc9ec0e8ee2" 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('code01a06757990574ada1c16bc9ec0e8ee2Js'); 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="code01a06757990574ada1c16bc9ec0e8ee2Js" name="code01a06757990574ada1c16bc9ec0e8ee2Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">using System;&#xA;using System.Drawing;&#xA;&#xA;// The &#x27;windowHandle&#x27; parameter will contain the window handle for the:&#xA;//   - Active window when run by hotkey&#xA;//   - Trigger target when run by a Trigger rule&#xA;//   - TitleBar Button owner when run by a TitleBar Button&#xA;//   - Jump List owner when run from a Taskbar Jump List&#xA;//   - Currently focused window if none of these match&#xA;public static class DisplayFusionFunction&#xA;{&#xA;    public static void Run(IntPtr windowHandle)&#xA;    {&#xA;        // your code goes here&#xA;    }&#xA;}</pre><textarea id="code01a06757990574ada1c16bc9ec0e8ee2" name="code01a06757990574ada1c16bc9ec0e8ee2" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div><br/>
When I click on 'Verify Function' for this template I get 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="#code01a06757990977ad9d436fe4511f8a06" 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('code01a06757990977ad9d436fe4511f8a06Js'); 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="code01a06757990977ad9d436fe4511f8a06Js" name="code01a06757990977ad9d436fe4511f8a06Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">The type or namespace name &#x27;Drawing&#x27; does not exist in the namespace &#x27;System&#x27; (are you missing an assembly reference?)&#xA;Predefined type &#x27;System.Object&#x27; is not defined or imported&#xA;Predefined type &#x27;System.Object&#x27; is not defined or imported&#xA;The type or namespace name &#x27;IntPtr&#x27; could not be found (are you missing a using directive or an assembly reference?)&#xA;Predefined type &#x27;System.Void&#x27; is not defined or imported</pre><textarea id="code01a06757990977ad9d436fe4511f8a06" name="code01a06757990977ad9d436fe4511f8a06" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div><br/>
I uninstalled and reinstalled DisplayFusion 11.1.1. No success.<br/>
Am I missing a .net-installation?<br/>
<br/>
Regards,<br/>
Christian
</div>
]]></content:encoded>
</item>
</channel>
</rss>