Change Log for the latest
XYplorer BETA version:
Code: Select all
v15.70.0101 - 2015-09-03 21:11
+++ Search In List: Added a new search mode where you don't search in one or
more locations but in a list of items (;-separated) passed in lieu of the
search locations.
This list can contain files (they are directly checked against the search
filters) and folders (they are recursed like in a normal (multi-)location
search).
The Search In List (SIL) mode is invoked automatically if any files are
found in the list of search locations. No switch, no setting. It just
works.
So, in other much simpler words: You now can pass files as search
locations and they are directly checked against the search filters.
It's a simple idea but what you can do with it is pretty awesome.
Examples:
- Quick Search in Address Bar:
E:\Test.jpg;E:\Test2.txt?ageC: > 1 y //of these, list those older than 1 year
<selitems ;>?a* //among the selected items, find all starting with "a"
<selitems ;>?* /e //among the selected items, find all that are empty
<selitems ;>?cmt:"Done" //among the selected items, find all with comment "Done"
- SC QuickSearch:
text quicksearch("*.txt", "E:\Test.jpg;E:\Test2.txt"); //E:\Test2.txt
text quicksearch("*.txt", "<selitems ;>");
- Running a search and then another search over the search results of the
first search, using scripting. List all JPGs, then scan the listed JPGs
for being last modified in 2014:
goto "?*.jpg"; goto "<allitems ;>?dateM: y 2014";
- Running a search over a hard set of files stored in some file, using a
small script, fast non-GUI operation. ListToSearch.txt contains a list
of ;-separated files with full path:
// return files modified in the last 7 days:
$list = readfile("<xyscripts>\ListToSearch.txt");
text quicksearch("ageM: <= 7 d", $list);
One fascinating aspect of the above example is that you can
super-quickly check out multiple items in the wildest locations all over
your system without the need to browse the whole locations as in a
normal find operation.
- Store a search result in a perm and list it anytime later:
perm $results = "<allitems ;>"; //store today
goto "$results?*"; //restore tomorrow
Or you could just make up $results manually by whatever criteria and
then list it in the file list using:
goto "$results?*";
Paper Folder to go.
+ Variable <selitems> enhanced: Now you can pass a separator (one or more
characters; the space character is not possible here). If a separator is
passed then the individual items are not quoted.
Examples:
text "<selitems>"; //items are quoted, separated by space
text "<selitems ;>"; //items are separated by ;
text "<selitems |>"; //items are separated by |
text "<selitems //>"; //items are separated by //
text "<selitems <crlf>>"; //items are separated by CRLF
BTW, in case you forgot, the variable <selitems...> returns the currently
selected list items with full path.
+ New variable <allitems>. Works exactly like <selitems>, but returns all
list items, not only the selected ones.
+ Quick Search: Experimentally added #? as a shorthand for <allitems ;>?.
So, to search the current list (which can be a search results list) for
all items last modified in 2014 you can do this through the Address Bar:
#?dateM: y 2014
+ Quick Search: Experimentally added +? as a shorthand for <selitems ;>?.
So, to search the selected items in the current list (which can be a
search results list) for all items last modified in 2014 you can do this
through the Address Bar:
+?dateM: y 2014
! SC listfolder: The following line returned "" instead of 0 when there were
no subfolders:
echo listfolder(<curpath>, "*", 2+32);
Fixed.
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.