Change Log for the latest
XYplorer BETA version:
Code: Select all
v18.30.0007 - 2017-09-09 16:49
+ Scripting got a new command.
Name: ReThumb
Action: Recreates image files from the thumbnails cache.
Syntax: rethumb cachepath, cachetitle, targetpath, [flags]
cachepath: Location of cache files (dbits and dat2 file).
You find this path here:
Configuration | Thumbnails | Cache thumbnails on disk
cachetitle: Title of the cache files pair (dbits and dat2 file; both are needed!).
It's always 32 character GUID, e.g. "fc2a2b5e9d46239340b1f1e88023bc32"
The file "XYThumbs.txt" in cachepath will help you to find
the right GUID. I kept this as a homework for you to ensure
this wonderful command comes with a satisfying degree of
nerdiness.
targetpath: Target folder where the images files are to be created.
It's recommended to use an empty folder.
flags: (bit field)
1 = Overwrite prompt (when creating the image files).
Otherwise same-named files are overwritten without asking.
Remarks:
- The main use of this command is to retrieve thumbnail versions of
any lost original image files from XYplorer's thumbnails cache.
- Note that XYplorer's thumbnails cache can contain also older images
that had been long removed from the original folder. So you should get
all your lost images and maybe even some more.
- Each found thumbnail is stored as a separate image file under the
original file name.
- Image files are all saved in PNG format to ensure a lossless quality.
- The PNG extension is appended (in CAPS) to the original filename, e.g.:
GLB-PAR31889_2048x.jpg.PNG
This allows you to see how the original file was called.
Example:
rethumb "E:\XYThumbs", "fc2a2b5e9d46239340b1f1e88023bc32", "E:\Test\reThumbed";
+ Sync Folders Dialog: You now see in the title bar whether the dialog is
called by script ("Script") or by GUI.
* Sync Folders Dialog: Replaced the "Preview mode" checkbox by a "Preview" button.
* SC sync: Removed the [preview] argument and changed the [flags] bit field
to [switches] (using letters).
Syntax: sync source, target, [copy_items], [on_collision], [delete_items], [switches], [logfile]
switches: lower case letters in any order
c = Show Sync Folders configuration dialog before start, initialized
to the settings as passed with this command.
Any subsequent changes to the settings in the dialog only affect
*this* job. They do *not* affect the settings of the GUI Sync
Folders function.
k = Keep progress dialog open after job is completed.
Note that the default (when no switches are passed) is now to NOT
keep the dialog open.
p = Preview Mode: Nothing actually happens, you just get a detailed
report of what would happen in real mode.
Note: When you also pass switch "c" then this flag is ignored
apart from the fact that the Preview button is pre-focused. The
button you choose decides whether it's a preview or the real
thing.
r = Reverse direction (target > source).
Examples:
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="c"; //show config
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="p"; //preview mode
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="k"; //keep progress open
//copy, overwrite if newer; perm delete, no prompt; preview; config:
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 1, 0, 1, "cp";
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 6:="<xydata>\Log\Sync_<date yyyy-mm-dd>.txt"; //log
* XYcopy: Updated to 2.10.0106.
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.