Passing the current Filter file-mask to Everything as a parameter on the commandline?

I have a custom button:

cd "C:\Program Files\Everything"
@async:"C:\Program Files\Everything\Everything.exe" -p "{sourcepath}"

This starts the popular Everything search program with the current Lister path.

I wonder whether it is possible to pass the current filter mask of the Lister (defined in the Lister's Filter Bar, e.g. *.pdf) as a parameter to Everything?

In this case, the Everything Search field should become:

image

BTW, congratulations to the forum programmer for the paste-image feature! :congratulations:

You can do it using scripting. Each Tab object has a QuickFilter object which tells you how the filter bar is set up.