<?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: Launch App and then Switch Monitor Profile</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=3b0b1a38-41ce-4670-9653-cb6f542319d4" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=3b0b1a38-41ce-4670-9653-cb6f542319d4</link>
<description>DisplayFusion RSS: Launch App and then Switch Monitor Profile</description>
<lastBuildDate>Sun, 19 Apr 2026 18:08:20 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=3b0b1a38-41ce-4670-9653-cb6f542319d4</generator>
<item>
<title>RE: Launch App and then Switch Monitor Profile</title>
<link>https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4#5</link>
<pubDate>Fri, 13 Nov 2020 16:34:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
Glad to hear you found a solution! If you have any other questions, feel free to reach out to us.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
<br/>
Glad to hear you found a solution! If you have any other questions, feel free to reach out to us.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Launch App and then Switch Monitor Profile</title>
<link>https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4#4</link>
<pubDate>Fri, 13 Nov 2020 05:03:02 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[I ended up using....
Code
Copy
Select All
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 TitleB...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I ended up using....<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="#code019da6edde95756dbb4bebc137163ee3" 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('code019da6edde95756dbb4bebc137163ee3Js'); 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="code019da6edde95756dbb4bebc137163ee3Js" 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)
    {
        //Gets name of current monitor profile
        //After effects needs profile named 3_on
        string profileName = BFS.DisplayFusion.GetCurrentMonitorProfile();
        
        if (profileName != "3_on"){
            //Need to wait
            BFS.DisplayFusion.RunFunctionAndWait("Load Monitor Profile: 3_on");
        }
        BFS.DisplayFusion.RunFunctionAndWait("Launch-AfterEffects");
    }
}</pre><textarea id="code019da6edde95756dbb4bebc137163ee3" name="code019da6edde95756dbb4bebc137163ee3" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Launch App and then Switch Monitor Profile</title>
<link>https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4#3</link>
<pubDate>Fri, 13 Nov 2020 02:45:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hmmm... this kind of works but I run into the issue of having my windows all messed up because the app opens essentially before the screens.
I think I need a custom script that loads the monitor profile then launches the app...
I am thinking...
1. Check if monitor profile loaded
2. load or do...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hmmm... this kind of works but I run into the issue of having my windows all messed up because the app opens essentially before the screens.<br/>
<br/>
I think I need a custom script that loads the monitor profile then launches the app... <br/>
<br/>
I am thinking...<br/>
<br/>
1. Check if monitor profile loaded<br/>
2. load or dont need to load profile<br/>
3. launch app<br/>
4. maximize window of app<br/>
<br/>
Then I would attach that to a shortcut and use the commandline interface to run the function....<br/>
<br/>
I will try to make this and post here...
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Launch App and then Switch Monitor Profile</title>
<link>https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4#2</link>
<pubDate>Thu, 12 Nov 2020 18:29:41 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
If you head to the triggers section, you can create a new trigger. You'll want to use the "Window Created" event (this is set by default). You can then select the application you want in the "Process Filename" box. Finally, you can add the "Run Function" action, and select the monitor pro...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
<br/>
If you head to the triggers section, you can create a new trigger. You'll want to use the "Window Created" event (this is set by default). You can then select the application you want in the "Process Filename" box. Finally, you can add the "Run Function" action, and select the monitor profile you would like to load when the application is run. <br/>
<br/>
We also have a help guide found here if you would like to look into it a bit further: https://www.displayfusion.com/Discussions/View/working-with-triggers/?ID=43b31609-4ec6-4478-99f8-a1f11e9793f7#first<br/>
<br/>
Hope this helps!
</div>
]]></content:encoded>
</item>
<item>
<title>Launch App and then Switch Monitor Profile</title>
<link>https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4</link>
<pubDate>Thu, 12 Nov 2020 03:18:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/launch-app-and-then-switch-monitor-profile/?ID=3b0b1a38-41ce-4670-9653-cb6f542319d4</guid>
<category>DisplayFusion</category>
<description><![CDATA[I want to change monitor profiles when particular apps are opened.
EXAMPLE- Open After Effects ... Load Profile 1
I assumed this would be possible using triggers but I am not clear on how to accomplish it.  Can I get some suggestions?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I want to change monitor profiles when particular apps are opened.<br/>
EXAMPLE- Open After Effects ... Load Profile 1<br/>
<br/>
I assumed this would be possible using triggers but I am not clear on how to accomplish it.  Can I get some suggestions?
</div>
]]></content:encoded>
</item>
</channel>
</rss>