Page 1 of 1

PFA/POM - Duplicate Removal

Posted: 21 May 2008 17:41
by TheQwerty
This might not be worth fixing, as it's just as much user error as it is a bug, but I thought I'd bring it up anyhow.

If you have two portable file associations that point to the same program, but one is in quotes and the other isn't, it will display both, even if the quoted one has no arguments.

For instance:

Code: Select all

+"Open In Textpad" bat;ini;java;syn;tcl;txt;xml;xsl;xys>C:\Program Files\TextPad 4\Textpad.exe
-
+"Default (Windows)" *>::Open("<curitem>","w");
+"Open In Textpad" *>"C:\Program Files\Textpad 4\Textpad.exe"
+"Open In Textpad [New Instance]" *>"C:\Program Files\Textpad 4\Textpad.exe" -m
Now if I select an ini file, it would display all four of these patterns in the POM.

Ideally, it should recognize that item 3 has no additional parameters and is thus the same as item 1 and not show both.


SIDE-WISH: If you noticed my PFA has a line of just "-", anyway we could use such things to create separators in the POM?

Re: PFA/POM - Duplicate Removal

Posted: 23 May 2008 09:08
by admin
Yes, fixed.
TheQwerty wrote:SIDE-WISH: If you noticed my PFA has a line of just "-", anyway we could use such things to create separators in the POM?
Hmm, the POM is very variable. I don't see seps here making much sense.

Re: PFA/POM - Duplicate Removal

Posted: 23 May 2008 13:08
by TheQwerty
admin wrote:Yes, fixed.
Fantastic!
admin wrote:Hmm, the POM is very variable. I don't see seps here making much sense.
Perhaps not as user defined, since that would conflict with the order of importance, but what about some separating with the matched results?

I'm thinking something like:

Code: Select all

First Match (Default XY Action)
----------
Exact Matches
----------
Wildcard Matches
----------
Windows Action
----------
Customize PFA

Then again, maybe the messy look of my POM would best be avoided by not trying to abuse it and including all my Catalog app items. :lol:

Re: PFA/POM - Duplicate Removal

Posted: 23 May 2008 14:39
by jacky
admin wrote:
TheQwerty wrote:SIDE-WISH: If you noticed my PFA has a line of just "-", anyway we could use such things to create separators in the POM?
Hmm, the POM is very variable. I don't see seps here making much sense.
Actually, it might make sense if something like this was supported :

Code: Select all

|"-"*.txt
So one could define separator, using a pattern and locate it as wanted.

I'm definitely against the order TheQwerty suggested though, I want to order my POM !