Change Log for the latest
XYplorer BETA version:
Code: Select all
v12.90.0006 - 2013-09-16 14:59
+ Scripting got a new function.
Name: ColorFilter
Action: Activates one or more color filters in Tree and List.
Syntax: colorfilter([filters], [separator=||])
filters: Filter, or list of filters separated by separator.
If empty ("") any color filters are deactivated.
If missing the function just returns the currently active filters.
separator: Separator for list of filters.
return: Currently active filters.
Examples:
colorfilter("+lent:>12 //long filenames>BF6000,");
colorfilter("+len:>260 //overlong items>FFFFFF,FB4F04");
colorfilter("+dateM: dw 6-7 //last modified on a weekend>FFFFFF,B83E30");
colorfilter("+ageC d:d //folders created today>EEEEEE,4A97EC||+dir:xy*>FFFF00,FF8000");
colorfilter(""); //deactivate any color filter
text colorfilter(), 800; //return the currently active filters
Remarks:
- The color filter definition uses the full Color Filter syntax
including colors in RRGGBB and leading "+" (the "+" is optional
here, the filters will also be applied without the "+"). You can
see this syntax in List Management | Color Filters, in Editor
Mode (F6).
- If you activate a new filter, the old filter is replaced by it.
- If you activate the same filter again it is deactivated (toggle).
- The filter activated by this command are completely independent
of the Color Filters defined and enabled via Configuration. They
even work if the normal Color Filters are disabled.
- These color filters are not retained across sessions.
Usage:
These ad hoc color filters have a couple of advantages over the
normal color filters:
- You can quickly and individually turn them on/off without going
through Configuration.
- This means you can spotlight the files you are interested now,
just in time. With normal Color Filters your are often bothered
with colors all over that are rather distrracting than helpful.
- They are always processed on top of all other color filters, so
you always see all matches. Whereas in normal color filters it's
common that the first match covers any possible other matches
because usually only one color can be shown at the time for each
item (exception: Details view allows two colors simultaneously
per item under certain conditions).
- Because lists of filters are supported you can use this function
to toggle whole color schemes which would be very cumbersome to
do using the normal color filters.
- It's also easy to share color schemes between users via user
button snippets or included catalogs.
* Color Filters: Now when you completely leave out the color
definitions (Text/Back), black on pink will shown as default color
combination. This is also true for SC colorfilter, e.g.:
colorfilter("+lent:>12");
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.