<?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: Question: Maximizing an opened program with same key that opened it</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=8d33c333-3385-49e8-841f-d17ee484baa7" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=8d33c333-3385-49e8-841f-d17ee484baa7</link>
<description>DisplayFusion RSS: Question: Maximizing an opened program with same key that opened it</description>
<lastBuildDate>Mon, 06 Apr 2026 07:23:29 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=8d33c333-3385-49e8-841f-d17ee484baa7</generator>
<item>
<title>RE: Question: Maximizing an opened program with same key that opened it</title>
<link>https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7#5</link>
<pubDate>Thu, 27 Apr 2017 15:36:17 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Cheers!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Cheers!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Question: Maximizing an opened program with same key that opened it</title>
<link>https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7#4</link>
<pubDate>Wed, 26 Apr 2017 21:37:54 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks so much, Pablo and Keith!
The only thing I changed in the script was changing Window.Maximize to Window.Focus. This whole script now meets my needs perfectly, and I've also used it for Outlook and a few other programs.
Thank you again!!
Charlie]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks so much, Pablo and Keith!  <br/>
<br/>
The only thing I changed in the script was changing Window.Maximize to Window.Focus. This whole script now meets my needs perfectly, and I've also used it for Outlook and a few other programs.<br/>
<br/>
Thank you again!!<br/>
<br/>
Charlie
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Question: Maximizing an opened program with same key that opened it</title>
<link>https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7#3</link>
<pubDate>Wed, 26 Apr 2017 19:08:20 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks Pablo! That was going to be my response as well
@Charlie: Let us know if you have any trouble setting up Pablo's scripted function.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks Pablo! That was going to be my response as well <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/>
@Charlie: Let us know if you have any trouble setting up Pablo's scripted function.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Question: Maximizing an opened program with same key that opened it</title>
<link>https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7#2</link>
<pubDate>Wed, 26 Apr 2017 17:15:38 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[You can use a simple script. This script checks to see if Firefox is running and if it is running, it maximize the window, otherwise it starts Firefox. Set your path to the Firefox in code and don't forget to add a "Key Combination".
Code
Copy
Select All
using System;
using System.Drawing;
...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You can use a simple script. This script checks to see if Firefox is running and if it is running, it maximize the window, otherwise it starts Firefox. Set your path to the Firefox in code and don't forget to add a "Key Combination".<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="#code019d61acd38b758c9ac7e72fc6deaa45" 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('code019d61acd38b758c9ac7e72fc6deaa45Js'); 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="code019d61acd38b758c9ac7e72fc6deaa45Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        var wHnd = BFS.Application.GetMainWindowByFile("*firefox.exe");

        if(!wHnd.Equals(IntPtr.Zero))
            BFS.Window.Maximize(wHnd);
        else
            BFS.Application.Start(@"C:\Program Files (x86)\Mozilla Firefox\firefox.exe", "");
    }
}</pre><textarea id="code019d61acd38b758c9ac7e72fc6deaa45" name="code019d61acd38b758c9ac7e72fc6deaa45" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Maybe Keith will write about other ways.
</div>
]]></content:encoded>
</item>
<item>
<title>Question: Maximizing an opened program with same key that opened it</title>
<link>https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7</link>
<pubDate>Wed, 26 Apr 2017 05:32:17 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/question-maximizing-an-opened-program-with-same-key-that-opened-it/?ID=8d33c333-3385-49e8-841f-d17ee484baa7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi Keith/all,
I'm hoping you can provide some insight on how to make a certain operation work.
Essentially, I have Alt+F hotkeyed to open Firefox. However, when I minimize Firefox (and do other tasks), if I hit Alt+F again, DF launches a newinstance of Firefox.
How can I have DF work such that...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi Keith/all,<br/>
<br/>
I'm hoping you can provide some insight on how to make a certain operation work.<br/>
<br/>
Essentially, I have Alt+F hotkeyed to open Firefox. However, when I minimize Firefox (and do other tasks), if I hit Alt+F again, DF launches a <i>new</i>instance of Firefox. <br/>
<br/>
How can I have DF work such that when I hit Alt+F (when Firefox is already open but is minimized or behind other windows) Firefox is then maximized/brought to the forefront (and <i>not</i>have Alt+F open a <i>new</i>instance of Firefox)?<br/>
<br/>
I've taken a quick look around the forum to see if such a topic was discussed previously, but I could not find anything.<br/>
<br/>
Thank you for any help,<br/>
<br/>
Charlie
</div>
]]></content:encoded>
</item>
</channel>
</rss>