Filter working, but corresponding macro not?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
GeorgeCostanza
Posts: 8
Joined: Fri Dec 23, 2016 7:07 pm

Filter working, but corresponding macro not?

Post by GeorgeCostanza »

I have a search that i repeatedly perform so i decided to create a filter and macro.

The search usually looks like this:

Code: Select all

Q: path:<dogs|cats|birds|lizards|spiders> images
What this does in words is that it looks inside my Q drive, then finds any folders titled "images", inside of any folders that have the words dogs OR cats OR birds, etc in the path

So for example, my folders look like this:

Code: Select all

Q:\F1\F2\dogs\images
OR

Code: Select all

Q:\F1\F2\cats\images
and when i perform the search:

Code: Select all

Q: path:<dogs|cats|birds|lizards|spiders> images
I get a list of folders all named "images"

I created a filter for quicker execution:

Code: Select all

q: path:<name:> images
And a macro:

Code: Select all

qimg<name>
When i activate the filter and type:

Code: Select all

dogs|cats|lizards|horses
it works fine and returns a list of folders named "images"

But when I deactivate the filter, activate the "Everything" filter and use the macro like this:

Code: Select all

qimg:dogs|cats
the behavior isn't the same.

It returns a list of 4,000+ objects and I can't figure out if this is expected behavior or I'm doing something wrong.

I think it has something to do with the "|" operator, because the macro works until I add an "|" operator

Hopefully this makes sense. Thanks for any help
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: Filter working, but corresponding macro not?

Post by void »

The | breaks a search term.


The search qimg:dogs|cats is searching for qimg:dogs OR cats

Currently you would have to search for:
qimg:dogs|qimg:cats

I've added <> support to macro function calls in Everything 824b
With Everything 824b, please try searching for:
qimg:<dogs|cats>
GeorgeCostanza
Posts: 8
Joined: Fri Dec 23, 2016 7:07 pm

Re: Filter working, but corresponding macro not?

Post by GeorgeCostanza »

void wrote:The | breaks a search term.


The search qimg:dogs|cats is searching for qimg:dogs OR cats

Currently you would have to search for:
qimg:dogs|qimg:cats

I've added <> support to macro function calls in Everything 824b
With Everything 824b, please try searching for:
qimg:<dogs|cats>
works perfect. glad my post made sense to you.

thanks a lot and thanks for the program. just found out about it and i've been using it constantly
Post Reply