XYplorer 13.90 has been released on 31-Mar-2014. Here's a quick introduction to the main new features:
Introduction. This release is all about columns. If you ever wanted to know more about your files and folders, now you got the tools for it. Custom Columns (the cover term for all the new columns described here below) can show you everything you can possibly show about a file right in the file list, viewable, sortable, searchable, copyable. (Pro Edition Only)
To show those audio columns simply open View | Columns | Show Columns... and tick the ones you want to see: They are prefixed with "Custom #:", e.g. Custom 2: Sample Rate. You will get something like this in a list with audio files (supported formats are WAV, OGG, FLAC, MP3):
Audio Properties in Columns. (Click to zoom)
Note that these "Custom #:" columns are predefined by factory default to show audio properties. You can freely customize them via Tools | Configuration | Custom Columns to show whatever else you want:
Configuring Custom Column 2. (Click to zoom)
setcolumns(":s-audio.length,:s-audio.bitdepth,:s-audio.bitrate,:s-audio.channels,:s-audio.samplerate", 24);
Here is one way to show such a column (there are others). Create a new column using View | Columns | New Column (in later versions: Click View | Columns | Add Column). Then right-click the column header and click Select Property. You will get a list of all available extended file properties. The list is localized, here is one from a German Windows 8.1 system:
Selecting an extended file property.
When you OK the dialog the right-clicked column is immediately filled with the appropriate data.
Analog to the extended properties described above, you right-click a custom column header and click Select Special Property. Then you select a special property from the list.
Right-click menu of a Custom Column header. (Click to zoom)
The list of available special properties in XYplorer 13.90.
This is what you get after selecting MD5:
Right-click menu of a Custom Column header. (Click to zoom)
Finally, here is a view of a list using the MP3-related special properties as columns:
MP3-related special properties. Preview playing at the bottom. (Click to zoom)
setcolumns("Name,:s-mp3.artist,:s-mp3.album,:s-mp3.genre,:s-mp3.title,:s-mp3.track,:s-mp3.year,:s-audio.length,:s-audio.bitrate,:s-audio.samplerate,Ext,Size,Modified,Created");
setcolumns(":s-mp3.album,:s-mp3.year,:s-mp3.artist,:s-mp3.genre,:s-mp3.track,:s-mp3.title", 24, 1);
Here is what such a smart column can look like:
It's the "Mixed" column. (Click to zoom)
And this is the definition of the above shown Mixed column. You get to this Window via Tools | Configuration | Custom Columns | Edit.
Configuring the "Mixed" column. (Click to zoom)
Check out these scripted columns:
Note the "Last Name" column. It shows how you can sort files by a particular part of the filename, i.e. you can sort by partial filename. (Click to zoom)
Note the "Phase" and the "Date" column. An example for sorting date-coded filenames, i.e. for sorting files by the date in the filename. (Click to zoom)
Note the "Pixels" column. It lets you sort image files by their area. (Click to zoom)
These are scripted columns. To understand how they work it helps if you are a geek. But even non-geeks can manage. Here, for example, is how to add a "Last Name" column to your file list. First you create a new Custom Column definition (this is where the scripting comes in), then you insert a new column into the file list, then you assign your previously defined Custom Column to this new column. Here is a step-by-step checklist:
Caption: Last Name Type: Script Script: $base = getpathcomponent(<cc_name>, "base"); $lastname = gettoken($base, -1, " "); return $lastname;
What the script does: First a extracts the base name of the currently processed file (whose cell we are about to fill), that's the filename without the extension. Then it extracts the last part of the base name, where parts are defined as separated by spaces. Finally that last part is "returned", i.e. it will be written into the cell.
This is how it looks in the interface:
Defining the "Last Name" column. (Click to zoom)
In later versions: Click View | Columns | Add Column. A column called "(Undefined)" will appear in the file list.
If you are interested in the Pixels column script, here it is:
$dims = property("#image.dimensions", <cc_item>); $width = gettoken($dims, 1, " x "); $height = gettoken($dims, 2, " x "); return $width * $height;
And here is a script that will display the first 12 characters of each file:
return readfile(<cc_item>, , 12);
Final Remark on Scriptable Columns: Note that these are only some very simple examples. You can do a lot more with Scriptable Columns. But be careful, a script can be a powerful little machine, and be aware that the script in a scripted column is called for each item in the file list.
The above features are part of the Pro Edition only, not of the Free Edition.
When you hold CTRL and right-click a non-empty cell you get a small popup menu with one command "Copy Data" by which you can copy the contents of the cell to the clipboard. Works with all cells in all columns. Note that any selections in the list are not affected.
Copy the dimensions of an image. (Click to zoom)
Simply append the switch "/maxdepth=n" to the search term in the name field, or it's shorthand form "/md=n". For example, to find all items containing "kiss" in the current level and one level below you would use kiss /md=1 as search term.
Defining the search depth. (Click to zoom)
The result could look like this:
Search the current location and one level deeper. (Click to zoom)
Now when you change the switch to "/md=2" you could get something like this:
Search the current location and two levels deeper. (Click to zoom)