<?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: Detect window based on command line parameters containing a certain string</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=71589626-4ec9-4517-9a30-db6ff75aae20" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=71589626-4ec9-4517-9a30-db6ff75aae20</link>
<description>DisplayFusion RSS: Detect window based on command line parameters containing a certain string</description>
<lastBuildDate>Mon, 06 Apr 2026 13:51:54 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=71589626-4ec9-4517-9a30-db6ff75aae20</generator>
<item>
<title>RE: Detect window based on command line parameters containing a certain string</title>
<link>https://www.displayfusion.com/Discussions/View/detect-window-based-on-command-line-parameters-containing-a-certain-string/?ID=71589626-4ec9-4517-9a30-db6ff75aae20#3</link>
<pubDate>Thu, 25 May 2023 22:52:44 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/detect-window-based-on-command-line-parameters-containing-a-certain-string/?ID=71589626-4ec9-4517-9a30-db6ff75aae20#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Okay, thank you.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Okay, thank you.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=c99f44ab-9bf0-41e2-89f5-8f30637bbc68"/>
</item>
<item>
<title>RE: Detect window based on command line parameters containing a certain string</title>
<link>https://www.displayfusion.com/Discussions/View/detect-window-based-on-command-line-parameters-containing-a-certain-string/?ID=71589626-4ec9-4517-9a30-db6ff75aae20#2</link>
<pubDate>Thu, 25 May 2023 13:26:21 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/detect-window-based-on-command-line-parameters-containing-a-certain-string/?ID=71589626-4ec9-4517-9a30-db6ff75aae20#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[You can use *msedgewebview2.exe to match just the process name, but the command line parameters don't support wildcards.
We'll get those discussion issues fixed up as well.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You can use *msedgewebview2.exe to match just the process name, but the command line parameters don't support wildcards.<br/>
<br/>
We'll get those discussion issues fixed up as well.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=c99f44ab-9bf0-41e2-89f5-8f30637bbc68"/>
</item>
<item>
<title>Detect window based on command line parameters containing a certain string</title>
<link>https://www.displayfusion.com/Discussions/View/detect-window-based-on-command-line-parameters-containing-a-certain-string/?ID=71589626-4ec9-4517-9a30-db6ff75aae20</link>
<pubDate>Fri, 19 May 2023 22:16:31 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/detect-window-based-on-command-line-parameters-containing-a-certain-string/?ID=71589626-4ec9-4517-9a30-db6ff75aae20</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello!
I'm a long time user and lover of DisplayFusion. Thanks for your hard work on this!
I have a program that I'd like to detect that contains the command-line arguments...
--embedded-browser-webview=1 --webview-exe-name=ChatGPT.exe
Those are not all of the arguments, but are the ones I wa...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello!<br/>
<br/>
I'm a long time user and lover of DisplayFusion. Thanks for your hard work on this!<br/>
<br/>
I have a program that I'd like to detect that contains the command-line arguments...<br/>
<br/>
<div class="Inline"><pre>--embedded-browser-webview=1 --webview-exe-name=ChatGPT.exe</pre></div><br/>
<br/>
Those are not all of the arguments, but are the ones I want to detect. When I type those into the field, DisplayFusion does not detect them. I'm assuming that it matches the entire command-line parameters of the program instead of just the ones I typed?<br/>
<br/>
How can I have it match some of the parameters rather than all of them?<br/>
I did try escaping the <div class="Inline"><pre>--</pre></div> prefix in case that was the issue. I also tried putting the parameters in quotes. I also tried using the <div class="Inline"><pre>OR</pre></div> operator, but I'm still missing something.<br/>
For example, the entire command-line parameters for the program are...<br/>
<br/>
<div class="Inline"><pre>--embedded-browser-webview=1 --webview-exe-name=ChatGPT.exe --webview-exe-version=0.12.0 --user-data-dir="C:\Users\User\AppData\Local\com.lencx.chatgpt\EBWebView" --noerrdialogs --embedded-browser-webview-dpi-awareness=2 --disable-features=MojoIpcz,msWebOOUI,msPdfOOUI,msSmartScreenProtection --lang=en-US</pre></div><br/>
<br/>
But I just want to match<br/>
<br/>
<div class="Inline"><pre>--embedded-browser-webview=1 --webview-exe-name=ChatGPT.exe</pre></div><br/>
on the trigger.<br/>
<br/>
Also, is there any way to match an EXE based on filename rather than the full path? For example, can I use <div class="Inline"><pre>msedgewebview2.exe</pre></div> instead of the full path? Right now it doesn't seem to detect with just the filename. The reason for this is that some EXEs may exist in multiple locations depending on version number or for various other reasons.<br/>
<br/>
Example:<br/>
<br/>
<div class="Inline"><pre>C:\Program Files\Common Files\Adobe\Microsoft\EdgeWebView\msedgewebview2.exe
C:\Program Files (x86)\Microsoft\EdgeWebView\Application\113.0.1774.42\msedgewebview2.exe</pre></div><br/>
<br/>
But I want to match just <div class="Inline"><pre>msedgewebview2.exe</pre></div>.<br/>
<br/>
Finally, I noticed a small bug with the DisplayFusion discussions forum. If I have new lines in my post, it does save them, but when I go back to edit my post, it removes the new lines and I have to add them back for easier readability. 😊 In addition, when I go back to edit my post, "Protect these attachments" is checked, even though I unchecked it before. If I save it as unchecked, when returning to editing, it still is checked.<br/>
<br/>
Thank you!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=c99f44ab-9bf0-41e2-89f5-8f30637bbc68"/>
</item>
</channel>
</rss>