Search within search fails

Things you’d like to miss in the future...
Post Reply
Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Search within search fails

Post by Papoulka »

"Fresh" XY v16.90.0305, Win10 x64

I'm trying to use the syntax shown in Help under "Search In List", pasting this Help example into the address bar:

Code: Select all

goto "?*.jpg"; goto "<allitems ;>?dateM: y 2014";
But it gets confused, ending up with a bogus "location unavailable" error.

highend
Posts: 13358
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search within search fails

Post by highend »

Works fine in my Win 10 x64 VM with .0305 XY (fresh)...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60669
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Search within search fails

Post by admin »

Works fine here, too. Win8.1, non-fresh.

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Search within search fails

Post by Papoulka »

So - further testing shows that the error occurs only if folder(s) in the List pane have a semicolon in their name. I use semicolons so often in folder names that all my earlier tests included those.

Edit: actually, if any folder in the path (above or in the List) has a semicolon

highend
Posts: 13358
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search within search fails

Post by highend »

<allitems ;> reacts on ";" as the delimiter for all entries and if your items contain this character...
Just use <allitems |> instead.

Don, maybe you should add a note that the actual delimiter character should not be present in any of your file / folder names for the example
to work correctly?
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60669
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Search within search fails

Post by admin »

Yep, done. :tup:

Note also that the shorthands # and + use "|" as a separator already (and not ";"). The help was out of date here.
So this way it should have worked:

Code: Select all

goto "?*.jpg"; goto "#?dateM: y 2014";

Post Reply