<?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: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc</link>
<description>DisplayFusion RSS: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</description>
<lastBuildDate>Sat, 04 Apr 2026 08:33:40 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc</generator>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#16</link>
<pubDate>Fri, 27 Apr 2018 15:43:16 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#16</guid>
<category>DisplayFusion</category>
<description><![CDATA[We've just released a new DisplayFusion beta version there's now a delay setting for the Match Conditions. Please let us know if you run into any trouble after updating.
Thanks!]]></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> there's now a delay setting for the Match Conditions. Please let us know if you run into any trouble after updating.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#15</link>
<pubDate>Tue, 11 Apr 2017 18:08:43 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#15</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
On the Functions tab, use Add Scripted to create a new scripted function named MinimizeChromeWhileLocked and paste the code in place of what is currently in the window and click OK to save it.
On the Triggers tab, Add a new trigger for Desktop Locked and Add a Run Function action to run ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>On the Functions tab, use Add Scripted to create a new scripted function named MinimizeChromeWhileLocked and paste the code in place of what is currently in the window and click OK to save it.<br/>
<br/>
On the Triggers tab, Add a new trigger for Desktop Locked and Add a Run Function action to run the new scripted function above (MinimizeChromeWhileLocked).<br/>
Add another new trigger for Desktop Unlocked and Add a Run Function action to run the new scripted function above (MinimizeChromeWhileLocked).<br/>
<br/>
Now Ok or Apply everything and you should be good to go.</div></div><br/>
<br/>
ty for this. is there a way to test if this is working to see if the windows are actually being minimized?<br/>
<br/>
also, my IRCCloud window doesnt have IRCCloud in the title, it only has the current channel or server name as the title for the window that i am on. there is always a '*' as the first character in the window title, though, that maybe be of some help.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#14</link>
<pubDate>Thu, 01 Dec 2016 21:09:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#14</guid>
<category>DisplayFusion</category>
<description><![CDATA[On the Functions tab, use Add Scripted to create a new scripted function named MinimizeChromeWhileLocked and paste the code in place of what is currently in the window and click OK to save it.
On the Triggers tab, Add a new trigger for Desktop Locked and Add a Run Function action to run the new ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
On the Functions tab, use Add Scripted to create a new scripted function named MinimizeChromeWhileLocked and paste the code in place of what is currently in the window and click OK to save it.<br/>
<br/>
On the Triggers tab, Add a new trigger for Desktop Locked and Add a Run Function action to run the new scripted function above (MinimizeChromeWhileLocked).<br/>
Add another new trigger for Desktop Unlocked and Add a Run Function action to run the new scripted function above (MinimizeChromeWhileLocked).<br/>
<br/>
Now Ok or Apply everything and you should be good to go.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#13</link>
<pubDate>Wed, 30 Nov 2016 20:40:50 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#13</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Here is a new script that will minimize Chrome windows on desktop lock with titles matching a series of wildcards, and then restore them on desktop unlock. Create a Desktop Locked trigger and Desktop Unlocked trigger and assign them both to run the function, which I named MinimizeChromeWh...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Here is a new script that will minimize Chrome windows on desktop lock with titles matching a series of wildcards, and then restore them on desktop unlock. Create a Desktop Locked trigger and Desktop Unlocked trigger and assign them both to run the function, which I named MinimizeChromeWhileLocked:<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="#code019d57a05bf4777d8d1de3a33d9404bb" 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('code019d57a05bf4777d8d1de3a33d9404bbJs'); 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="code019d57a05bf4777d8d1de3a33d9404bbJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Collections.Generic;
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)
{
        var chromeTitleMatches = new string[] { "*Tweetdeck", "*IRCCloud" };
        
var chromeWindows = new List&lt;IntPtr&gt;();
foreach (var aTitle in chromeTitleMatches) {
            chromeWindows.AddRange(BFS.Window.GetWindowsByText(aTitle + " - Google Chrome"));
        }

foreach (var aWindow in chromeWindows) {
            if (BFS.General.IsDesktopLocked()) {
                if (!BFS.Window.IsMinimized(aWindow))
                    BFS.Window.Minimize(aWindow);
            }
            else {
                if (BFS.Window.IsMinimized(aWindow))
                    BFS.Window.Restore(aWindow);
            }
        }
}
}</pre><textarea id="code019d57a05bf4777d8d1de3a33d9404bb" name="code019d57a05bf4777d8d1de3a33d9404bb" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div></div></div><br/>
<br/>
how do i go about using this?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#12</link>
<pubDate>Thu, 18 Aug 2016 20:36:43 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#12</guid>
<category>DisplayFusion</category>
<description><![CDATA[Here is a new script that will minimize Chrome windows on desktop lock with titles matching a series of wildcards, and then restore them on desktop unlock. Create a Desktop Locked trigger and Desktop Unlocked trigger and assign them both to run the function, which I named MinimizeChromeWhileLocke...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Here is a new script that will minimize Chrome windows on desktop lock with titles matching a series of wildcards, and then restore them on desktop unlock. Create a Desktop Locked trigger and Desktop Unlocked trigger and assign them both to run the function, which I named MinimizeChromeWhileLocked:<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="#code019d57a05bfc732ab4b3c8a4a2dc1de2" 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('code019d57a05bfc732ab4b3c8a4a2dc1de2Js'); 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="code019d57a05bfc732ab4b3c8a4a2dc1de2Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Collections.Generic;
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)
{
        var chromeTitleMatches = new string[] { "*Tweetdeck", "*IRCCloud" };
        
var chromeWindows = new List&lt;IntPtr&gt;();
foreach (var aTitle in chromeTitleMatches) {
            chromeWindows.AddRange(BFS.Window.GetWindowsByText(aTitle + " - Google Chrome"));
        }

foreach (var aWindow in chromeWindows) {
            if (BFS.General.IsDesktopLocked()) {
                if (!BFS.Window.IsMinimized(aWindow))
                    BFS.Window.Minimize(aWindow);
            }
            else {
                if (BFS.Window.IsMinimized(aWindow))
                    BFS.Window.Restore(aWindow);
            }
        }
}
}</pre><textarea id="code019d57a05bfc732ab4b3c8a4a2dc1de2" name="code019d57a05bfc732ab4b3c8a4a2dc1de2" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#11</link>
<pubDate>Sat, 13 Aug 2016 18:05:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#11</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
The first function I wrote toggles Chrome windows from minimized to normal. If you have manually minimized tweetdeck and then locked, the function would restore tweetdeck and your screen saver wouldn't activate.
So, I think a function that only minimizes when locked and restores when unl...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>The first function I wrote toggles Chrome windows from minimized to normal. If you have manually minimized tweetdeck and then locked, the function would restore tweetdeck and your screen saver wouldn't activate.<br/>
<br/>
So, I think a function that only minimizes when locked and restores when unlocked would be best.<br/>
<br/>
But when you unlock the screen do you want tweetdeck and irccloud to be restored even if you had manually minimized them before you locked?</div></div><br/>
<br/>
ya that would be nice. if it properly minimizes those windows when i lock the computer i will not manually be doing it though. maybe putting that in there just in case of user error.  <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" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#10</link>
<pubDate>Fri, 12 Aug 2016 21:08:19 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#10</guid>
<category>DisplayFusion</category>
<description><![CDATA[The first function I wrote toggles Chrome windows from minimized to normal. If you have manually minimized tweetdeck and then locked, the function would restore tweetdeck and your screen saver wouldn't activate.
So, I think a function that only minimizes when locked and restores when unlocked wo...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
The first function I wrote toggles Chrome windows from minimized to normal. If you have manually minimized tweetdeck and then locked, the function would restore tweetdeck and your screen saver wouldn't activate.<br/>
<br/>
So, I think a function that only minimizes when locked and restores when unlocked would be best.<br/>
<br/>
But when you unlock the screen do you want tweetdeck and irccloud to be restored even if you had manually minimized them before you locked?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#9</link>
<pubDate>Fri, 12 Aug 2016 20:42:00 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Possibly they are flash based and telling windows not to start the screen saver (as if you were watching media). You could try opening an Administrative prompt and running powercfg /requests to see if you see something in the [Display] section from Chrome.
Are the window titles similar e...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Possibly they are flash based and telling windows not to start the screen saver (as if you were watching media). You could try opening an Administrative prompt and running powercfg /requests to see if you see something in the [Display] section from Chrome.<br/>
<br/>
Are the window titles similar enough you can adjust the filter to match them, or do you need to provide a list of titles?<br/>
<br/>
Also seems like you need the function to minimize on lock instead of toggle to be sure. Would you want it to leave windows manually minimized before lock as untouched after unlock instead of restoring them?</div></div><br/>
<br/>
well the two windows in question are irccloud and tweetdeck and flash in chrome is disabled unless enabled for that site. i know there is media embedded into these windows that keep the screen saver from triggering but as far as i can tell its unique to me as to why. nobody else ive talked to about it has the issue. i have a post on here, and other sites talking about the issue.<br/>
<br/>
tweetdeck title on the window is static. the irccloud window on the other changes it title depending on which channel/server i was last viewing so that one is variable.<br/>
<br/>
im not sure what you are describing or asking in the third paragraph.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#8</link>
<pubDate>Fri, 12 Aug 2016 20:33:04 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[Possibly they are flash based and telling windows not to start the screen saver (as if you were watching media). You could try opening an Administrative prompt and running powercfg /requests to see if you see something in the [Display] section from Chrome.
Are the window titles similar enough yo...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Possibly they are flash based and telling windows not to start the screen saver (as if you were watching media). You could try opening an Administrative prompt and running powercfg /requests to see if you see something in the [Display] section from Chrome.<br/>
<br/>
Are the window titles similar enough you can adjust the filter to match them, or do you need to provide a list of titles?<br/>
<br/>
Also seems like you need the function to minimize on lock instead of toggle to be sure. Would you want it to leave windows manually minimized before lock as untouched after unlock instead of restoring them?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#7</link>
<pubDate>Fri, 12 Aug 2016 18:15:30 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
I might ask how you will know
Do you have other Chrome windows open that should not be minimized?
Here is code for a custom function that toggles all Chrome windows from minimized to restored. If you assign it to the Desktop Locked and Desktop Unlocked triggers it will toggle all Chrome...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>I might ask how you will know <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" /><br/>
<br/>
Do you have other Chrome windows open that should not be minimized?<br/>
<br/>
Here is code for a custom function that toggles all Chrome windows from minimized to restored. If you assign it to the Desktop Locked and Desktop Unlocked triggers it will toggle all Chrome windows.<br/>
<br/>
If you have some minimized that should stay that way (e.g. be ignored) and not be restored on unlock, you can improve the GetWindowsByText filter to narrow down which windows are affected, and possibly write two separate lock/unlock functions and keep track of the windows to be restored if toggling isn't reliable enough.<br/>
<br/>
I called the function ToggleChromeMinimize<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="#code019d57a05c2a719cae964b639406ce67" 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('code019d57a05c2a719cae964b639406ce67Js'); 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="code019d57a05c2a719cae964b639406ce67Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">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)
{
var chromeWindows = BFS.Window.GetWindowsByText("* - Google Chrome");

foreach (var aWindow in chromeWindows) {
if (BFS.Window.IsMinimized(aWindow))
            BFS.Window.Restore(aWindow);
else
            BFS.Window.Minimize(aWindow);
}
}
}</pre><textarea id="code019d57a05c2a719cae964b639406ce67" name="code019d57a05c2a719cae964b639406ce67" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div></div></div><br/>
<br/>
i have a couple websites that i run in windowed mode through chrome so they feel more like apps. for some reason if i have these windows active and not minimized they will hold my computer from activating the screensaver. ive spent waaay too much time trying to figure out why but if i minimize them then i can get the screensaver to function properly. so when i lock my PC it would be nice to have just these windows minimized and then restored when i unlock.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#6</link>
<pubDate>Fri, 12 Aug 2016 18:10:37 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[I might ask how you will know
Do you have other Chrome windows open that should not be minimized?
Here is code for a custom function that toggles all Chrome windows from minimized to restored. If you assign it to the Desktop Locked and Desktop Unlocked triggers it will toggle all Chrome windows...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I might ask how you will know <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" /><br/>
<br/>
Do you have other Chrome windows open that should not be minimized?<br/>
<br/>
Here is code for a custom function that toggles all Chrome windows from minimized to restored. If you assign it to the Desktop Locked and Desktop Unlocked triggers it will toggle all Chrome windows.<br/>
<br/>
If you have some minimized that should stay that way (e.g. be ignored) and not be restored on unlock, you can improve the GetWindowsByText filter to narrow down which windows are affected, and possibly write two separate lock/unlock functions and keep track of the windows to be restored if toggling isn't reliable enough.<br/>
<br/>
I called the function ToggleChromeMinimize<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="#code019d57a05c3d733ab9f2165c0570aae3" 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('code019d57a05c3d733ab9f2165c0570aae3Js'); 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="code019d57a05c3d733ab9f2165c0570aae3Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">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)
{
var chromeWindows = BFS.Window.GetWindowsByText("* - Google Chrome");

foreach (var aWindow in chromeWindows) {
if (BFS.Window.IsMinimized(aWindow))
            BFS.Window.Restore(aWindow);
else
            BFS.Window.Minimize(aWindow);
}
}
}</pre><textarea id="code019d57a05c3d733ab9f2165c0570aae3" name="code019d57a05c3d733ab9f2165c0570aae3" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#5</link>
<pubDate>Thu, 11 Aug 2016 19:13:18 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
@madLyfe: There actually are Desktop Locked/Unlocked Events available for the Triggers
ah ok, im seeing that now. i guess im not sure how to minimize a couple chrome windows(not tabs) when i lock the PC and then maximize them when unlock the PC. actually id rather minimize them and then ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>@madLyfe: There actually are Desktop Locked/Unlocked Events available for the Triggers <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></div><br/>
<br/>
ah ok, im seeing that now. i guess im not sure how to minimize a couple chrome windows(not tabs) when i lock the PC and then maximize them when unlock the PC. actually id rather minimize them and then bring them back to their respective size.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#4</link>
<pubDate>Thu, 11 Aug 2016 19:06:44 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[@Gabriel: I've added that to our feature request list. As NetMage mentioned, you could make the match conditions more generic (i.e. just check for the process), then check the title in a scripted function. That's a bit more complicated to setup though
@madLyfe: There actually are Desktop Locked/...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
@Gabriel: I've added that to our feature request list. As NetMage mentioned, you could make the match conditions more generic (i.e. just check for the process), then check the title in a scripted function. That's a bit more complicated to setup though <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" /><br/>
<br/>
@madLyfe: There actually are Desktop Locked/Unlocked Events available for the Triggers <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: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#3</link>
<pubDate>Tue, 09 Aug 2016 20:52:00 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[i think a good addition to triggers would be the lock/unlock action of windows so that i can minimize/maximize windows when i lock/unlock my pc.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
i think a good addition to triggers would be the lock/unlock action of windows so that i can minimize/maximize windows when i lock/unlock my pc.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#2</link>
<pubDate>Tue, 09 Aug 2016 20:25:05 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I have something similar happen with a script that attempts to move windows on the desktop when focused - if the window is focused by clicking the minimize button, it returns funny window bounds before the window is marked as minimized and messes up.
I put in a BFS.General.ThreadWait(100) to wai...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I have something similar happen with a script that attempts to move windows on the desktop when focused - if the window is focused by clicking the minimize button, it returns funny window bounds before the window is marked as minimized and messes up.<br/>
<br/>
I put in a BFS.General.ThreadWait(100) to wait a tenth of a second to give time for the minimize event to be processed and then check if the window is minimized before using the bounds values.<br/>
<br/>
Couldn't you put a similar delay to wait for Chrome to update its window title and then migrate the match conditions into your code to test the updated Window title.
</div>
]]></content:encoded>
</item>
<item>
<title>[Feature Request] Add delay to Triggers in addition to other conditions. (8.0 Beta 11, Windows 10)</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc</link>
<pubDate>Tue, 09 Aug 2016 16:05:05 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-add-delay-to-triggers-in-addition-to-other-conditions-80-beta-11-windows-10/?ID=f0f3a962-00c6-4bc0-8ef7-614f79f5adbc</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello!
I use DisplayFusion's beta Window triggers to resize and move those stubborn windows that decide they want to popup on the wrong screen all the time. It works with most everything... except for my specific use case. The issue is with the way Chrome handles opening new windows: It doesn't ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello!<br/>
<br/>
I use DisplayFusion's beta Window triggers to resize and move those stubborn windows that decide they want to popup on the wrong screen all the time. It works with most everything... except for my specific use case. The issue is with the way Chrome handles opening new windows: It doesn't know the title of the page it's opening until it... opens, so it just gives "Chrome: New window" or some other generic name for when it first starts up. Now, resizing for the most part works great (there's currently a small issue I've experienced with it not resizing the bottom of the window, but that's most likely due to the page I'm using being... odd.), but there isn't a way to delay looking for the match conditions in the triggers. <br/>
<br/>
What is currently the problem:<br/>
Chrome windows open with a default title, then change titles to be something different a number of seconds later. As of now, I've had to set it so that my Event is Window Focused, and my Match Conditions are the Window Text of the fully loaded window. I then focus the window after it's fully loaded in Chrome, and it resizes.<br/>
<br/>
What I think would be better:<br/>
Allow an action to delay checking match conditions, or as part of the trigger enable a delay with a customisable timer on Window Created to then go on to checking match conditions.<br/>
<br/>
Thank you for your consideration, and I'm so happy to have bought this product so long ago, especially now that I really need it a lot!
</div>
]]></content:encoded>
</item>
</channel>
</rss>