<?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: Suddenly i'm getting errors when running/verifying scripted functions</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=019660e7-ea9b-75a2-8a88-a073561be6f9" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=019660e7-ea9b-75a2-8a88-a073561be6f9</link>
<description>DisplayFusion RSS: Suddenly i'm getting errors when running/verifying scripted functions</description>
<lastBuildDate>Sat, 23 May 2026 01:26:59 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=019660e7-ea9b-75a2-8a88-a073561be6f9</generator>
<item>
<title>RE: Suddenly i'm getting errors when running/verifying scripted functions</title>
<link>https://www.displayfusion.com/Discussions/View/suddenly-im-getting-errors-when-runningverifying-scripted-functions/?ID=019660e7-ea9b-75a2-8a88-a073561be6f9#3</link>
<pubDate>Wed, 23 Apr 2025 15:31:51 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/suddenly-im-getting-errors-when-runningverifying-scripted-functions/?ID=019660e7-ea9b-75a2-8a88-a073561be6f9#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[That seems to have done the trick, thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
That seems to have done the trick, thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Suddenly i'm getting errors when running/verifying scripted functions</title>
<link>https://www.displayfusion.com/Discussions/View/suddenly-im-getting-errors-when-runningverifying-scripted-functions/?ID=019660e7-ea9b-75a2-8a88-a073561be6f9#2</link>
<pubDate>Wed, 23 Apr 2025 15:00:56 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/suddenly-im-getting-errors-when-runningverifying-scripted-functions/?ID=019660e7-ea9b-75a2-8a88-a073561be6f9#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Can you try re-installing the latest version of .net from here and then reboot, and see if the issue persists? https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.15-windows-x64-installer]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Can you try re-installing the latest version of .net from here and then reboot, and see if the issue persists? <a href="https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.15-windows-x64-installer" target="_blank" rel="nofollow"><b>https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.15-windows-x64-installer</b></a>
</div>
]]></content:encoded>
</item>
<item>
<title>Suddenly i'm getting errors when running/verifying scripted functions</title>
<link>https://www.displayfusion.com/Discussions/View/suddenly-im-getting-errors-when-runningverifying-scripted-functions/?ID=019660e7-ea9b-75a2-8a88-a073561be6f9</link>
<pubDate>Wed, 23 Apr 2025 04:28:54 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/suddenly-im-getting-errors-when-runningverifying-scripted-functions/?ID=019660e7-ea9b-75a2-8a88-a073561be6f9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Windows 11
DP 11.1.1
These functions worked without issues just a couple of days ago and i haven't updated or changed anything that relates to them that i'm aware of.
It's very strange
this is just the default "close window" function
using System;
using System.Drawing;
// The 'windowHandle...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Windows 11<br/>
DP 11.1.1<br/>
<br/>
These functions worked without issues just a couple of days ago and i haven't updated or changed anything that relates to them that i'm aware of. <br/>
It's very strange<br/>
<br/>
this is just the default "close window" function<br/>
<br/>
<div class="Inline"><pre>using System;
using System.Drawing;

// The 'windowHandle' parameter will contain the window handle for the:
//   - Active window when run by hotkey
//   - Trigger target when run by a Trigger rule
//   - TitleBar Button owner when run by a TitleBar Button
//   - Jump List owner when run from a Taskbar Jump List
//   - Currently focused window if none of these match
public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        BFS.Window.Close(windowHandle);
    }
}</pre></div><br/>
<br/>
And i am getting these errors<br/>
<div class="Image"><a href="https://i.imgur.com/Kca0tJK.gif" target="_blank" data-fancybox="" data-caption="https://i.imgur.com/Kca0tJK.gif" HelpButtonData="https://i.imgur.com/Kca0tJK.gif" HelpButtonDataAlign="BelowMiddle"><img src="https://i.imgur.com/Kca0tJK.gif" alt="https://i.imgur.com/Kca0tJK.gif" title=""></a></div><br/>
<br/>
I have a ocuple of scripted functions tied to triggers and i notced that they stopped working, thus i started looking at the scripts and all of them are getting these types of errors.
</div>
]]></content:encoded>
</item>
</channel>
</rss>