<?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: Trigger that closes application when a monitor profile is changed</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=0195b43a-3fba-745d-995c-0dbc33bdb2d8" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=0195b43a-3fba-745d-995c-0dbc33bdb2d8</link>
<description>DisplayFusion RSS: Trigger that closes application when a monitor profile is changed</description>
<lastBuildDate>Wed, 08 Apr 2026 02:18:38 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=0195b43a-3fba-745d-995c-0dbc33bdb2d8</generator>
<item>
<title>RE: Trigger that closes application when a monitor profile is changed</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#6</link>
<pubDate>Fri, 04 Apr 2025 15:03:35 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ok, strange! Could you send me a debug log?
On the DisplayFusion Settings  Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal"
Switch to the profile
Also try running the script from your key combination
Click the "Export Info to File" button on the Settings  Troubleshooting...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, strange! Could you send me a debug log?<br/>
<br/>
<ul class="ListBullet">
<li>On the DisplayFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal"</li>
<li>Switch to the profile</li>
<li>Also try running the script from your key combination</li>
<li>Click the "Export Info to File" button on the Settings > Troubleshooting tab</li>
<li>Reply with the file attached</li>
<li>Disable debug logging after sending the log<br/></li></ul>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Trigger that closes application when a monitor profile is changed</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#5</link>
<pubDate>Tue, 01 Apr 2025 13:04:13 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[I do not see a notification after adding one when switching to the profile.
I tried to troubleshoot a bit and also found that when I directly add a Key Combination to call/start this function, it does not work as intended (but again, running the function via the window where it is open/I can see...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I do not see a notification after adding one when switching to the profile. <br/>
<br/>
I tried to troubleshoot a bit and also found that when I directly add a Key Combination to call/start this function, it does not work as intended (but again, running the function via the window where it is open/I can see the code works). Not sure if that is helpful at all in troubleshooting. Thanks again for your help with this!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Trigger that closes application when a monitor profile is changed</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#4</link>
<pubDate>Fri, 28 Mar 2025 13:47:56 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[That's strange! If you add a "Show notification" action to the Trigger rule, do you see the tray notification when switching to the profile?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
That's strange! If you add a "Show notification" action to the Trigger rule, do you see the tray notification when switching to the profile?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Trigger that closes application when a monitor profile is changed</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#3</link>
<pubDate>Tue, 25 Mar 2025 19:58:18 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thank you, Keith!
This function works perfectly after adding the .exes I'd like to close and when I run it by itself, but it doesn't work as intended when I add it as a trigger to run when my monitor profile changes to 'Desk'. Do you know why that may be? I've done the following steps:
Settings...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thank you, Keith!<br/>
<br/>
This function works perfectly after adding the .exes I'd like to close and when I run it by itself, but it doesn't work as intended when I add it as a trigger to run when my monitor profile changes to 'Desk'. Do you know why that may be? I've done the following steps:<br/>
<br/>
Settings &gt; Triggers &gt; Add &gt; Under Event; When Monitor Profile Changed &gt; Under Monitor Profile; select 'Desk' &gt; Add &gt; Run Fuction &gt; Selected the function you've posted &gt; Ok.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Trigger that closes application when a monitor profile is changed</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#2</link>
<pubDate>Fri, 21 Mar 2025 15:43:26 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I've posted a script that lets you fill in the process names of the apps that you want to close and then it will find the main window for the app and close it. You can download it on the Settings  Functions tab with Scripted Functions  Download Scripted. It's named "Close Specific Application Win...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I've posted a script that lets you fill in the process names of the apps that you want to close and then it will find the main window for the app and close it. You can download it on the Settings > Functions tab with Scripted Functions > Download Scripted. It's named "Close Specific Application Windows."<br/>
<br/>
Note that it will only send the "close" API call to the window. If it's an app that closes to the system tray, it won't fully exit the app. That could only be done by killing the process, which isn't a great way to exit a running program <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>Trigger that closes application when a monitor profile is changed</title>
<link>https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8</link>
<pubDate>Thu, 20 Mar 2025 15:44:31 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/trigger-that-closes-application-when-a-monitor-profile-is-changed/?ID=0195b43a-3fba-745d-995c-0dbc33bdb2d8</guid>
<category>DisplayFusion</category>
<description><![CDATA[I have a monitor set up with two monitors at my desk, and 3 monitors behind it for racing. I have one profile called 'Desk' and one profile called 'Sim Racing' for this. I've easily set up Custom Functions to automatically open 6 applications I use for racing (using the 'Launch Application' funct...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I have a monitor set up with two monitors at my desk, and 3 monitors behind it for racing. I have one profile called 'Desk' and one profile called 'Sim Racing' for this. I've easily set up Custom Functions to automatically open 6 applications I use for racing (using the 'Launch Application' function) when I press the hotkey (control shift F2) to change to my 'Sim Racing' monitor profile.<br/>
<br/>
However, I cannot figure out how to reverse this - so that when I press my 'Desk' monitor profile hotkey (control shift F1), those same 6 applications fully close. Is there a simple function I may be missing?<br/>
<br/>
I am a full novice to DisplayFusion and coding generally, so I unfortunately don't have much insight into how to write the code that may be needed to create this type of custom function. <br/>
<br/>
Thanks in advance for any help!
</div>
]]></content:encoded>
</item>
</channel>
</rss>