<?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: Possible to use mouse idle timer to show/hide desktop windows?</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=9c17a933-b716-4bbc-a121-6c1479cd313a" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=9c17a933-b716-4bbc-a121-6c1479cd313a</link>
<description>DisplayFusion RSS: Possible to use mouse idle timer to show/hide desktop windows?</description>
<lastBuildDate>Sat, 02 May 2026 06:46:29 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=9c17a933-b716-4bbc-a121-6c1479cd313a</generator>
<item>
<title>RE: Possible to use mouse idle timer to show/hide desktop windows?</title>
<link>https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#7</link>
<pubDate>Thu, 13 Oct 2022 18:33:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Responded to your email already, but will post this here in case anyone else comes across it:
It looks like the sendkeys that the script sends makes Windows reset its idle timer. I've done a quick test here, and doing this should work around that:
Add this at the start of the script:
Code
Cop...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Responded to your email already, but will post this here in case anyone else comes across it:<br/>
<br/>
It looks like the sendkeys that the script sends makes Windows reset its idle timer. I've done a quick test here, and doing this should work around that:<br/>
<br/>
Add this at the start of the script:<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="#code019de770498270eba656a1760fe0628b" 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('code019de770498270eba656a1760fe0628bJs'); 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="code019de770498270eba656a1760fe0628bJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">// If the script is already running, exit
if (BFS.ScriptSettings.ReadValueBool("MinimizeScriptIsRunning"))
{
return;
}

// Mark the script as running
BFS.ScriptSettings.WriteValueBool("MinimizeScriptIsRunning", true);</pre><textarea id="code019de770498270eba656a1760fe0628b" name="code019de770498270eba656a1760fe0628b" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
And this at the end of the script:<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="#code019de770498670c4b386e176bba7c7e0" 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('code019de770498670c4b386e176bba7c7e0Js'); 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="code019de770498670c4b386e176bba7c7e0Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">// Mark the script as not running
BFS.ScriptSettings.WriteValueBool("MinimizeScriptIsRunning", false);</pre><textarea id="code019de770498670c4b386e176bba7c7e0" name="code019de770498670c4b386e176bba7c7e0" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Possible to use mouse idle timer to show/hide desktop windows?</title>
<link>https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#6</link>
<pubDate>Wed, 12 Oct 2022 21:29:27 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Seems like the System Idle trigger gets fired after every delay. So if you set it to go one minute after idle starts, it'll fire off a new thread every minute until you move the mouse.  Is there any way to detect an already running instance of a trigger that's still running?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Seems like the System Idle trigger gets fired after every delay. So if you set it to go one minute after idle starts, it'll fire off a new thread every minute until you move the mouse.  Is there any way to detect an already running instance of a trigger that's still running?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Possible to use mouse idle timer to show/hide desktop windows?</title>
<link>https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#5</link>
<pubDate>Wed, 12 Oct 2022 18:27:15 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[I added this at line 17 to prevent it from minimizing if the mouse cursor is in the very top left corner.
Code
Copy
Select All
if (scriptStartMousePosition.X + scriptStartMousePosition.Y == 0)
{
return; // Don't do anything if the mouse is in the upper left corner.
}]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I added this at line 17 to prevent it from minimizing if the mouse cursor is in the very top left corner.<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="#code019de770499076e7a51498fa3574a34f" 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('code019de770499076e7a51498fa3574a34fJs'); 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="code019de770499076e7a51498fa3574a34fJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">if (scriptStartMousePosition.X + scriptStartMousePosition.Y == 0)
        {
            return; // Don't do anything if the mouse is in the upper left corner.
        }</pre><textarea id="code019de770499076e7a51498fa3574a34f" name="code019de770499076e7a51498fa3574a34f" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Possible to use mouse idle timer to show/hide desktop windows?</title>
<link>https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#4</link>
<pubDate>Thu, 22 Sep 2022 14:05:31 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi David,
Yep you got it, you could add in the following lines:
Code
Copy
Select All
Rectangle bounds = BFS.Monitor.GetMonitorBoundsByMouseCursor();
if (bounds.X &lt; bounds.Y)
{
//do stuff
return;
}]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi David,<br/>
<br/>
Yep you got it, you could add in the following lines: <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="#code019de7704996700e816e85d629a1c56c" 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('code019de7704996700e816e85d629a1c56cJs'); 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="code019de7704996700e816e85d629a1c56cJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">Rectangle bounds = BFS.Monitor.GetMonitorBoundsByMouseCursor();
        if (bounds.X &lt; bounds.Y) 
        {
         //do stuff
        return;
        }</pre><textarea id="code019de7704996700e816e85d629a1c56c" name="code019de7704996700e816e85d629a1c56c" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Possible to use mouse idle timer to show/hide desktop windows?</title>
<link>https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#3</link>
<pubDate>Tue, 20 Sep 2022 20:03:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[I'm trying to figure out how to modify the script to not run if it's on a portrait oriented monitor. Then I'd move the mouse to that screen when watching video. I found code that does this:
Rectangle bounds = BFS.Monitor.GetMonitorBoundsByMouseCursor();
But I haven't yet found the docs for the ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'm trying to figure out how to modify the script to not run if it's on a portrait oriented monitor. Then I'd move the mouse to that screen when watching video. I found code that does this:<br/>
<br/>
Rectangle bounds = BFS.Monitor.GetMonitorBoundsByMouseCursor();<br/>
<br/>
But I haven't yet found the docs for the Rectangle object and am unsure of what context I should be looking in. But I'd just do the above and then wrap the whole thing in an if statement conditioned on the monitor width being greater than the height.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Possible to use mouse idle timer to show/hide desktop windows?</title>
<link>https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#2</link>
<pubDate>Fri, 27 Aug 2021 19:08:26 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
The attached script below should be able to do this for you. You can import it by opening the DisplayFusion Settings  Functions  Scripted Function  Import Scripted Function. You can then run it from a "System Idle" trigger.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
<br/>
The attached script below should be able to do this for you. You can import it by opening the DisplayFusion Settings > Functions > Scripted Function > Import Scripted Function. You can then run it from a "System Idle" trigger.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>Possible to use mouse idle timer to show/hide desktop windows?</title>
<link>https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a</link>
<pubDate>Thu, 26 Aug 2021 04:23:53 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/possible-to-use-mouse-idle-timer-to-showhide-desktop-windows/?ID=9c17a933-b716-4bbc-a121-6c1479cd313a</guid>
<category>DisplayFusion</category>
<description><![CDATA[I want to get more enjoyment out of my active wallpapers.  Is it possible to minimize all windows after 60 of no mouse input?  And then relaunch all windows upon next mouse movement.  Essentially a screensaver but for my desktop wallpaper.
I would also want a toggle switch for the timer, as I ma...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I want to get more enjoyment out of my active wallpapers.  Is it possible to minimize all windows after 60 of no mouse input?  And then relaunch all windows upon next mouse movement.  Essentially a screensaver but for my desktop wallpaper.<br/>
<br/>
I would also want a toggle switch for the timer, as I may want to enable long idles for watching videos and such.  Is something like this possible?  Where would I start?
</div>
]]></content:encoded>
</item>
</channel>
</rss>