<?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: DisplayFusion not detecting Path of Exile closing to process a trigger</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=e7536127-ad26-4690-952d-96c648211044" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=e7536127-ad26-4690-952d-96c648211044</link>
<description>DisplayFusion RSS: DisplayFusion not detecting Path of Exile closing to process a trigger</description>
<lastBuildDate>Sun, 19 Apr 2026 09:29:02 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=e7536127-ad26-4690-952d-96c648211044</generator>
<item>
<title>RE: DisplayFusion not detecting Path of Exile closing to process a trigger</title>
<link>https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#6</link>
<pubDate>Thu, 11 Jan 2018 15:36:23 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[No worries, glad that helped!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
No worries, glad that helped!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: DisplayFusion not detecting Path of Exile closing to process a trigger</title>
<link>https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#5</link>
<pubDate>Thu, 11 Jan 2018 01:44:28 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
You can try this out, but it will forcefully end the process instead of asking it to close gracefully:
Code
Copy
Select All
BFS.Application.Kill(BFS.Application.GetAppIDByFile("*PoeTradeMacro.exe"));
This script works. Thank you. I am fine with a force close for this.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>You can try this out, but it will forcefully end the process instead of asking it to close gracefully:<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="#code019da512715376979e21dbdbca3718ec" 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('code019da512715376979e21dbdbca3718ecJs'); 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="code019da512715376979e21dbdbca3718ecJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Application.Kill(BFS.Application.GetAppIDByFile("*PoeTradeMacro.exe"));</pre><textarea id="code019da512715376979e21dbdbca3718ec" name="code019da512715376979e21dbdbca3718ec" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div></div></div><br/>
<br/>
This script works. Thank you. I am fine with a force close for this.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: DisplayFusion not detecting Path of Exile closing to process a trigger</title>
<link>https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#4</link>
<pubDate>Wed, 10 Jan 2018 15:04:15 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[You can try this out, but it will forcefully end the process instead of asking it to close gracefully:
Code
Copy
Select All
BFS.Application.Kill(BFS.Application.GetAppIDByFile("*PoeTradeMacro.exe"));]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You can try this out, but it will forcefully end the process instead of asking it to close gracefully:<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="#code019da512715c733abbd63e39951e1a10" 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('code019da512715c733abbd63e39951e1a10Js'); 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="code019da512715c733abbd63e39951e1a10Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Application.Kill(BFS.Application.GetAppIDByFile("*PoeTradeMacro.exe"));</pre><textarea id="code019da512715c733abbd63e39951e1a10" name="code019da512715c733abbd63e39951e1a10" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: DisplayFusion not detecting Path of Exile closing to process a trigger</title>
<link>https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#3</link>
<pubDate>Tue, 09 Jan 2018 23:19:10 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thank you for the script. It's working for one of my programs (that runs through Java), but it doesn't work for my other one which is an AHK script compiled as an .exe. Is there a script to close a process by .exe name instead of a window? In Task Manager the PoeTradeMacro.exe runs as a backgroun...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thank you for the script. It's working for one of my programs (that runs through Java), but it doesn't work for my other one which is an AHK script compiled as an .exe. Is there a script to close a process by .exe name instead of a window? In Task Manager the PoeTradeMacro.exe runs as a background process.<br/>
<br/>
Here are the triggers for now. The launch trigger works flawlessly, but the close trigger doesn't work. The 3rd screenshot is the function that I am using to close the programs when Path of Exile closes by detecting a different program closing.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: DisplayFusion not detecting Path of Exile closing to process a trigger</title>
<link>https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#2</link>
<pubDate>Tue, 09 Jan 2018 18:09:57 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[You can add a Scripted Function to the Trigger rule and use this line to close an application from within the script:
Code
Copy
Select All
BFS.Window.Close(BFS.Application.GetMainWindowByFile("*notepad.exe");
For the issue of DisplayFusion not detecting the game closing, that is definitely s...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You can add a Scripted Function to the Trigger rule and use this line to close an application from within the script:<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="#code019da5127166727689ca21f8d6457898" 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('code019da5127166727689ca21f8d6457898Js'); 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="code019da5127166727689ca21f8d6457898Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Window.Close(BFS.Application.GetMainWindowByFile("*notepad.exe");</pre><textarea id="code019da5127166727689ca21f8d6457898" name="code019da5127166727689ca21f8d6457898" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
For the issue of DisplayFusion not detecting the game closing, that is definitely strange! Could you attach a screenshot of both Trigger rules?
</div>
]]></content:encoded>
</item>
<item>
<title>DisplayFusion not detecting Path of Exile closing to process a trigger</title>
<link>https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044</link>
<pubDate>Tue, 09 Jan 2018 09:58:12 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/displayfusion-not-detecting-path-of-exile-closing-to-process-a-trigger/?ID=e7536127-ad26-4690-952d-96c648211044</guid>
<category>DisplayFusion</category>
<description><![CDATA[I am currently setup so that when I launch Path of Exile it launchs two quality of life programs for the game. This works fine. My goal is to be able to close these two programs when I close Path of Exile. I have tested with other games/programs and I can get these programs to trigger my AutoHotK...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I am currently setup so that when I launch Path of Exile it launchs two quality of life programs for the game. This works fine. My goal is to be able to close these two programs when I close Path of Exile. I have tested with other games/programs and I can get these programs to trigger my AutoHotKey scripts that close my QoL programs.<br/>
<br/>
So far I've tried both the Window Destroyed and Process Ended triggers.<br/>
<br/>
I've tried using the process name/path, the window name, window class, and process command line parameters to trigger the function both alone and in conjunction with each other. <br/>
<br/>
I've had to do a few different workarounds to get triggers to work for me the way I need them to for my odd setups, but I can't figure out a way around this one.<br/>
<br/>
EDIT: For now I am using an AHK script as an .exe thats only function is to listen for PoE closing and when that closes DisplayFusion detects the AHK script closing. That triggers DisplayFusion launching 2 more AHK scripts to close my QoL programs. I'd much rather not have to do it this way, but it works for now. <br/>
<br/>
Also, in all of this is there a way to integrate closing applications into the trigger/function system or is this a problem with Windows?
</div>
]]></content:encoded>
</item>
</channel>
</rss>