Change Log for the latest
XYplorer BETA version:
Code: Select all
v15.50.0205 - 2015-08-15 12:18
+++ Global Visual Filter: Experimentally added the option to define a Global
Visual Filter (GVF) that is applied to all Lists in both panes. It is
always active.
Any local VFs are internally appended to the GVF.
It is recommended to define the GVF as "Must-Match-Pattern" (see next
section). Effectively any local VFs then work on top of the GVF, i.e. they
further narrow down what has passed the GVF.
Use of it:
- Well, you now can tell your file manager to list only TXT files, or only
files smaller than 1KB, or to list only files modified this month.
Globally, in each tab. This can be immensely useful.
How to:
- Currently you can set/remove GVFs only via scripting. SC filter got a
new "flags" value of 2 by which it sets the GVF.
Examples (using + operator to mark as "Must-Match-Patterns"):
filter "+*.txt", 2; //globally show only TXT files
filter "+ageM: m", 2; //globally list only files modified this month
filter "", 2; //remove any GVF
Notes:
- GVF syntax is identical to VF syntax.
- VF and GVF cannot be combined in a list if either of them is a RegExp
pattern. In that case the GVF is ignored.
- A GVF will not show filter information in the list or in tab headers. So
it's more stealth than a local VF.
- The active GVF pattern is displayed in the Status Bar tooltip (first
section of the bar).
- Just like VFs, GVFs apply only to the List, not the Tree, and they don't
affect the dropdowns in the Address Bar (both as opposed to Ghost Filter).
- The GVF is remembered between sessions.
- A Toolbar button will be added later.
+ Visual Filter: A new "+" operator can be prefixed to patterns to make them
a "Must-Match-Pattern". Matching it is necessary (but not sufficient if
there are more patterns to be checked). Sound complex, but is quite natural.
It works like this: A list of Visual Filter patterns is always processed from
left to right. Once a match or non-match is determined (after working out
the Boolean logic) the processing stops for the item in question. When
processing reaches a Must-Match-Pattern the logic is like this:
- Non-Match: Stop further processing. Item is invisible.
- Match:
- If it's the last pattern: Stop further processing. Item is visible.
- Else: Continue processing. The remaining patterns decide.
This addition allows you to do things that were not possible before, or
much harder to code.
Examples:
+ageM: y; *.jpg; *.raf //show all JPGs and RAFs modified this year
*.jpg; +ageM: y; *.raf //show all JPGs, and all RAFs modified this year
Having a "Must-Match-Pattern" as last pattern is useless. The following
two filters are equivalent:
*.jpg; *.raf; +ageM: y //show all JPGs and RAFs, and all files modified this year
*.jpg; *.raf; ageM: y //show all JPGs and RAFs, and all files modified this year
In case you want to search for the "+" character you can escape it with \:
\+*.jpg ////show all files matching "+*.jpg"
More examples:
*.jpg; ageM: y; size: > 50KB //show all JPGs, all files modified this year, and all files larger than 50 KB
*.jpg; +ageM: y; size: > 50KB //show all JPGs, and all files modified this year and larger than 50 KB
+*.jpg; ageM: y; size: > 50KB //show all JPGs modified this year OR larger than 50 KB
+*.jpg; +ageM: y; size: > 50KB //show all JPGs modified this year AND larger than 50 KB
Powerful stuff! I quickly added this to my Catalog (reduces my whole
visible file system to the items modified in the last 7 days):
filter "+ageM: <= 7 d", 2;
To
download the latest BETA version choose a download package: (1)
Installer Package, (2)
No-Install Package.
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.