Global VF syntax

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Global VF syntax

Post by binocular222 »

This normal VF hide all lrc and txt files:

Code: Select all

filter "!lrc|txt"
This GVF hide everything except txt files

Code: Select all

filter "nec:!lrc|txt", 2
???
1) Why? They have same syntax!
2) How to make a GVF that hide all lrc and txt files?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: Global VF syntax

Post by admin »

1)

Code: Select all

filter "nec:!lrc|txt", 2;
nec: only affects "!lrc", not the whole term. So it reads: "It must not be lrc, OR it can be txt."

2) This way:

Code: Select all

filter "nec:!jpg AND nec:!txt", 2;
This is clumsy. I hope to come up with something better when the feature is officially released.

PS: In next beta this brand-new less clumsy syntax will work:

Code: Select all

filter "no:jpg; no:txt", 2;

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Global VF syntax

Post by SkyFrontier »

From latest beta:

Code: Select all

 Hmm, I'm tempted to change "nec:" to "yo:" ... :)
While it's cooler, one may take it for "years old"...
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply