<?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: Questions on Window Location and command line arguments</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=dfc9a077-965b-4c2c-9cea-532372419739" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=dfc9a077-965b-4c2c-9cea-532372419739</link>
<description>DisplayFusion RSS: Questions on Window Location and command line arguments</description>
<lastBuildDate>Fri, 01 May 2026 15:47:51 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=dfc9a077-965b-4c2c-9cea-532372419739</generator>
<item>
<title>RE: Questions on Window Location and command line arguments</title>
<link>https://www.displayfusion.com/Discussions/View/questions-on-window-location-and-command-line-arguments/?ID=dfc9a077-965b-4c2c-9cea-532372419739#2</link>
<pubDate>Mon, 27 Oct 2014 18:38:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/questions-on-window-location-and-command-line-arguments/?ID=dfc9a077-965b-4c2c-9cea-532372419739#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Window Location can only read it if it shows in the "Command Line" column in Task Manager. If it's a fake argument, the program may strip it out when launching, so DisplayFusion wouldn't be able to read it.
Are file A and file B always the same? Or does that change? The latest beta version of Di...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Window Location can only read it if it shows in the "Command Line" column in Task Manager. If it's a fake argument, the program may strip it out when launching, so DisplayFusion wouldn't be able to read it.<br/>
<br/>
Are file A and file B always the same? Or does that change? The latest beta version of DisplayFusion has added scripted functions, so you can actually do this with a scripted function. Let me know if you'd like some help getting that going <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" /><br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>Questions on Window Location and command line arguments</title>
<link>https://www.displayfusion.com/Discussions/View/questions-on-window-location-and-command-line-arguments/?ID=dfc9a077-965b-4c2c-9cea-532372419739</link>
<pubDate>Fri, 24 Oct 2014 20:03:34 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/questions-on-window-location-and-command-line-arguments/?ID=dfc9a077-965b-4c2c-9cea-532372419739</guid>
<category>DisplayFusion</category>
<description><![CDATA[Beginner / trial user here. The ability of Window Location items to be customized base on command line arguments is really neat, but I have a small question:
Can Window Location detect comments at the end of a command line? I have experimented a bit without success.
As an example of why this wo...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Beginner / trial user here. The ability of Window Location items to be customized base on command line arguments is really neat, but I have a small question:<br/>
<br/>
Can Window Location detect comments at the end of a command line? I have experimented a bit without success. <br/>
<br/>
As an example of why this would be useful, suppose in some situations I want file A to open in the primary monitor and file B in the secondary monitor, but in other situations I want the reverse. I would like to write one script that opens file A using a fake argument, e.g. -primaryMonitor, and opens file B with -secondaryMonitor, and then a second script that does the reverse. However, -cmd- doesn't seem to like it when I add fake arguments to commands. I thought I might get around this by adding the "argument" as a comment, so cmd would not complain and only DisplayFusion would see it. So, for example:<br/>
<br/>
start notepad++.exe -primaryMonitor A.txt<br/>
(cmd / notepad++ complain because there's no -primaryMonitor argument or switch)<br/>
<br/>
vs<br/>
<br/>
start notepad++.exe A.txt &:: primaryMonitor<br/>
(displayfusion doesn't seem to notice the comment)<br/>
<br/>
Alternatively, perhaps I'm going about this in an entirely wrong way, so please let me know if there's a better way to achieve this aim.
</div>
]]></content:encoded>
</item>
</channel>
</rss>