Change Log for the latest
XYplorer BETA version:
Code: Select all
v17.00.0204 - 2016-08-20 22:03
+ Scripting got a new function.
Name: TagExport
Action: Exports tags data to a new tags database.
Syntax: tagexport([db], [path], [storage], [flags])
db: Path of tags database to create and export to.
If it exists it is overwritten without asking questions.
Resolved relative to current path.
Empty or missing: defaults to "<curpath>\XYplorerTag.dat".
path: Only export tags data under this path (this folder and all
subfolders, i.e. the whole branch).
Empty: export all tags data.
Missing: defaults to current path.
storage: Storage mode; on "3" it's relative to db.
flags: (bit field)
1 = remove exported items from main DB (else they are kept)
return: New tags database.
Remarks:
- SC tagexport() complements tagload(). You now can outsource specific
sections of your tags data to small local databases (tagexport) and load
them on demand from the local databases (tagload). Gains:
a) Slim down and speed up your main tags database.
b) Allow easy backup-avec-tags by keeping the local databases together
with the tagged items.
- The new tags database is *not* loaded into the app. It's just created on
disk similar to a "Save Copy As" operation.
Example:
In a path with tagged items, say hundreds of tagged photos, you want to
export the tags data of this path to a local database. This command will
create "XYplorerTag.dat" in the path, fill it with the data, and remove
the data from the main database (usually "<xydata>\tag.dat"):
tagexport(, , 3, 1);
To load the new database when you are in the path, do this:
tagload("XYplorerTag.dat");
Note that the key to all this wonderful new functionality is storage value
"3" ("Relative to tags database")!
+ Configuration | Startup & Exit | Permanent startup path: Now XY native
variables are supported (additionally to environment variables). This
allows you to state a fully portable startup path relative to
XYplorer.exe, or relative to the app data folder. Examples:
<xypath>
<xydata>\..\..
<xydata>\..\..\code
FYI, paths relative to XYplorer.exe have been supported already. These are
identical functionally:
appdata
<xypath>\appdata
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.