<?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: Triggers and Compatibility not functioning</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4</link>
<description>DisplayFusion RSS: Triggers and Compatibility not functioning</description>
<lastBuildDate>Sun, 19 Apr 2026 12:03:38 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4</generator>
<item>
<title>RE: Triggers and Compatibility not functioning</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#6</link>
<pubDate>Thu, 08 Nov 2018 19:17:29 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[No worries, thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
No worries, thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Triggers and Compatibility not functioning</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#5</link>
<pubDate>Wed, 07 Nov 2018 01:23:10 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Thanks for posting that workaround! What program do you use for converting the batch files to executables?
I used Advanced BAT to EXE Converter.
I haven't looked to see what else is out there, it was just one of the first results from a Google search.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Thanks for posting that workaround! What program do you use for converting the batch files to executables?</div></div><br/>
<br/>
I used Advanced BAT to EXE Converter.<br/>
I haven't looked to see what else is out there, it was just one of the first results from a Google search.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Triggers and Compatibility not functioning</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#4</link>
<pubDate>Tue, 06 Nov 2018 18:39:27 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks for posting that workaround! What program do you use for converting the batch files to executables?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for posting that workaround! What program do you use for converting the batch files to executables?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Triggers and Compatibility not functioning</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#3</link>
<pubDate>Tue, 06 Nov 2018 09:44:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[I've come up with a bit of a work around that seems to be doing the job.
I've changed the trigger to use Window Text and Window Class as these seem to consistently catch the program.
I've also changed the trigger to use Window Focused like you suggested.
I've also created an AHK script that la...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I've come up with a bit of a work around that seems to be doing the job.<br/>
<br/>
I've changed the trigger to use <i>Window Text</i> and <i>Window Class</i> as these seem to consistently catch the program.<br/>
I've also changed the trigger to use <i>Window Focused</i> like you suggested.<br/>
<br/>
I've also created an AHK script that launches a batch file that I've converted to a .exe<br/>
I had to go with AHK instead of creating a Custom Function from within Triggers because Window Created and Process Created still doesn't work.<br/>
<br/>
DisplayFusion detects the converted batch file and applies the Compatibility settings that I want applied when the game is opened.<br/>
<br/>
The AHK then kills the converted batch file when the game is closed.<br/>
<br/>
In my testing I noticed that most of the time the game has no Path, Version, Build Time, Description etc. in my task manager (Process Explorer). Which probably has something to do with why DisplayFusion is failing to detect it.<br/>
<br/>
This is the AHK script, just in case anyone needs to use this workaround in the future.<br/>
It uses a utility called PsKill which you can find on Microsoft's Windows Sysinternals site.<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="#code019da59ffacf73ffbc8e6e6ac7c2e6a7" 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('code019da59ffacf73ffbc8e6e6ac7c2e6a7Js'); 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="code019da59ffacf73ffbc8e6e6ac7c2e6a7Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">#Persistent

SetTimer, CheckForGame, 5000, On

CheckForGame:
Process, Exist, Game.exe
If ErrorLevel &lt;&gt; 0
{
 Process, Exist, BatchFile.exe
 If not ErrorLevel
  Run D:\Tools\Test\BatchFile.exe
}
Else
{
 Process, Exist, BatchFile.exe
 If ErrorLevel &lt;&gt; 0
  Run D:\Tools\pskill.exe -t %ErrorLevel%
}

return</pre><textarea id="code019da59ffacf73ffbc8e6e6ac7c2e6a7" name="code019da59ffacf73ffbc8e6e6ac7c2e6a7" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
The batch file is literally just <i>pause</i>. The .bat to .exe converter that I used has an option to allow the batch file window to go invisible and run in the background.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Triggers and Compatibility not functioning</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#2</link>
<pubDate>Tue, 30 Oct 2018 18:00:32 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[That's really strange. If you set the Trigger event to "Window Focused," does that make any difference? Also maybe try setting the "delay before checking match conditions" to 250.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
That's really strange. If you set the Trigger event to "Window Focused," does that make any difference? Also maybe try setting the "delay before checking match conditions" to 250.
</div>
]]></content:encoded>
</item>
<item>
<title>Triggers and Compatibility not functioning</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4</link>
<pubDate>Sun, 28 Oct 2018 08:32:51 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-compatibility-not-functioning/?ID=0a95fd8e-a050-4ba2-aff0-2e37c577e6a4</guid>
<category>DisplayFusion</category>
<description><![CDATA[I'm trying to setup DisplayFusion to move an old game that by default opens on my primary monitor, to my second screen.
I've created a Trigger that uses a Window Created event and Process Filename match condition.
I've also toyed around with using a Process Created event and Windows Text and/or...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'm trying to setup DisplayFusion to move an old game that by default opens on my primary monitor, to my second screen.<br/>
<br/>
I've created a Trigger that uses a Window Created event and Process Filename match condition.<br/>
I've also toyed around with using a Process Created event and Windows Text and/or Windows Class match conditions.<br/>
<br/>
The trigger only works <i>sometimes</i>. And never more than once. (ie. If I close the game and reopen it, the trigger wont work again.)<br/>
<br/>
The Frequency is set to Always but I've always toyed with all of those settings with no luck.<br/>
<br/>
I've also setup a Compatibility setting for the game that disables the DF Taskbar while the application is running and Forces DG to treat it as a full screen application.<br/>
The game runs in maximised Windowed mode. Without this the taskbar sits on top of the game.<br/>
<br/>
The compatibility settings only function when the trigger randomly works.<br/>
<br/>
How can I get the trigger and the compatibility settings to work correctly every time the game is run?
</div>
]]></content:encoded>
</item>
</channel>
</rss>