Quantcast
Channel: voidtools forum
Viewing all articles
Browse latest Browse all 327

General • Changing Filters from an external app

$
0
0
It's a strange request. Yes, I know. But I prefer to ask it anyway. But maybe there's a way.

I'm funning the following code in an external app to do a search with everything.

Code:

Shell EverythinPath & "Everything.exe -s" & " " & """" & SearchThis & """", 1
This opens Everything and search for whatever SearchThis variable contains.

When I run the above code, is it possible to use one of the filters pre-defined in everything?
For example I have a filter to search only for cad files. Is it possible to change the search filter in everything and run the above code?
At present, after the search is done, User has to change the filter manually.


Note:
I know that I can add the filter to search query like the following. For some specific reasons, I don't want to use this method. I prefer to change the selected filter in Everything if possible.

Code:

ext="ext:sldprt;slddrw;dxf;sldasm;pdf;tif;tiff;sldprt;slddrw;dxf;sldasm;"Shell EverythinPath & "Everything.exe -s" & " " & """" & SearchThis & ext & """", 1
Thanks for any kind of advice.

Statistics: Posted by vip_shadow — Fri Aug 02, 2024 12:58 am



Viewing all articles
Browse latest Browse all 327

Trending Articles