<?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: Window State = Minimized to System Tray</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=81f41c46-533a-4717-861a-54ebec5ae250" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=81f41c46-533a-4717-861a-54ebec5ae250</link>
<description>DisplayFusion RSS: Window State = Minimized to System Tray</description>
<lastBuildDate>Wed, 08 Apr 2026 07:26:38 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=81f41c46-533a-4717-861a-54ebec5ae250</generator>
<item>
<title>RE: Window State = Minimized to System Tray</title>
<link>https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250#5</link>
<pubDate>Fri, 04 May 2018 00:24:12 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[We've just released a new DisplayFusion beta version and there's now a scripting function for checking whether a window is visible:
Code
Copy
Select All
BFS.Window.IsVisible(windowHandle)]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
We've just released a new <a href="https://www.displayfusion.com/Download/Beta/" target="_blank" rel="nofollow"><b>DisplayFusion beta version</b></a> and there's now a scripting function for checking whether a window is visible:<br/>
<br/>
<div id="" 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="#code019d6bfc6f7c7311b9657dd9aeb34529" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019d6bfc6f7c7311b9657dd9aeb34529Js'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;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="code019d6bfc6f7c7311b9657dd9aeb34529Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Window.IsVisible(windowHandle)</pre><textarea id="code019d6bfc6f7c7311b9657dd9aeb34529" name="code019d6bfc6f7c7311b9657dd9aeb34529" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window State = Minimized to System Tray</title>
<link>https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250#4</link>
<pubDate>Thu, 12 Oct 2017 13:40:03 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ahhh, my bad. I was testing it with a window that was minimized to the tray using the DisplayFusion "Minimize Window to System Tray" function. When Skype is minimized to the tray, the window doesn't actually exist, so there's no way to restore it from a script. The only way would be to have the s...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ahhh, my bad. I was testing it with a window that was minimized to the tray using the DisplayFusion "Minimize Window to System Tray" function. When Skype is minimized to the tray, the window doesn't actually exist, so there's no way to restore it from a script. The only way would be to have the script double-click on the Skype tray icon. If the tray icon is always in the same spot, that should technically be possible, like so:<br/>
<div id="" 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="#code019d6bfc6f8471ffa7dde1df58f309ff" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019d6bfc6f8471ffa7dde1df58f309ffJs'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;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="code019d6bfc6f8471ffa7dde1df58f309ffJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Input.SetMousePosition(3269, 2137);
BFS.Input.LeftClickMouse();
BFS.Input.LeftClickMouse();</pre><textarea id="code019d6bfc6f8471ffa7dde1df58f309ff" name="code019d6bfc6f8471ffa7dde1df58f309ff" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window State = Minimized to System Tray</title>
<link>https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250#3</link>
<pubDate>Wed, 11 Oct 2017 20:45:30 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Of course BFS.Window.Restore(mainWindow); is available but it doesn't work. I linked the script I was using as a foundation and it has that exact snippet you shared but it doesn't work.
If Skype is minimized to system to tray, and not in taskbar... how do I restore Skype?
notice the part:
//if...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Of course BFS.Window.Restore(mainWindow); is available but it doesn't work. I linked the script I was using as a foundation and it has that exact snippet you shared but it doesn't work.<br/>
<br/>
If Skype is minimized to system to tray, and not in taskbar... how do I restore Skype?<br/>
<br/>
notice the part:<br/>
<br/>
//if the app is minimized, restore it<br/>
<br/>
How do I make it restore if app is minimized to system tray?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window State = Minimized to System Tray</title>
<link>https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250#2</link>
<pubDate>Wed, 11 Oct 2017 18:41:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[There isn't a way to check if a window is minimized to the tray, but you can restore it using the normal method:
BFS.Window.Restore(mainWindow);]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
There isn't a way to check if a window is minimized to the tray, but you can restore it using the normal method:<br/>
<br/>
BFS.Window.Restore(mainWindow);
</div>
]]></content:encoded>
</item>
<item>
<title>Window State = Minimized to System Tray</title>
<link>https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250</link>
<pubDate>Wed, 11 Oct 2017 05:57:48 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-state-minimized-to-system-tray/?ID=81f41c46-533a-4717-861a-54ebec5ae250</guid>
<category>DisplayFusion</category>
<description><![CDATA[How do I restore window if app is minimized to system tray?
Is there such a thing as BFS.Window.IsMinimizedToTrey(mainWindow)?
---
I'm using this as reference: https://www.displayfusion.com/ScriptedFunctions/View/?ID=82b0cb93-5575-47b6-8f36-e176e90bfbc3]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
How do I restore window if app is minimized to system tray?<br/>
Is there such a thing as BFS.Window.<span style="text-decoration:underline;">IsMinimizedToTrey</span>(mainWindow)?<br/>
<br/>
---<br/>
<br/>
I'm using this as reference: <a href="https://www.displayfusion.com/ScriptedFunctions/View/?ID=82b0cb93-5575-47b6-8f36-e176e90bfbc3" target="_blank" rel="nofollow"><b>https://www.displayfusion.com/ScriptedFunctions/View/?ID=82b0cb93-5575-47b6-8f36-e176e90bfbc3</b></a>
</div>
]]></content:encoded>
</item>
</channel>
</rss>