Change Log for the latest
XYplorer BETA version:
Code: Select all
v23.80.0016 - 2022-11-30 14:50
+ Scripting got a new function.
Name: TagCheck
Action: Checks and repairs the state of the current tags.
Syntax: tagcheck(flags, [include_removables])
flags: (bit field)
1 = Count orphans.
2 = Remove orphans.
4 = Remove dupes.
8 = Correct capitalization.
include_removables:
1 = Also scan items located on removable drives.
Background: You normally don't want to throw items out of your DB just
because a particular USB drive isn't plugged in.
return: Count of removed, if none count of corrected, if none count of orphans.
Remark:
This function does not change any data on disk, just the tags in memory.
Examples:
echo tagcheck(1); //returns count of orphans
echo tagcheck(2); //remove orphans, returns count of removed orphans
echo tagcheck(4); //remove dupes, returns count of removed dupes
echo tagcheck(8); //correct capitalization, returns count corrected items
echo tagcheck(14, 1); //remove orphans and dupes, correct capitalization, include removables
//meaning of return value depends on what happened
+ Scripting got a new function.
Name: TagSave
Action: Saves current tags to a file.
Syntax: tagsave([file], [flags])
file: Full path to database file.
If the path or file doesn't exist it will be created without asking
questions.
Defaults to the currently loaded database (<xytagdat>).
flags: (bit field)
1,2,4 = [reserved].
8 = SafeSave: This value is only useful in Multi-User Tagging.
Before writing, the current saved state of the database is read and matched
with the tags in memory. Can be useful in a multi-user tagging context if for
some reason your current tags in memory do not match the status of the
database on disk.
Note that whether database is actually read is also controlled by the value
of the Admin.ini key TagDatSafeSave. If no Admin.ini exists TagDatSafeSave is
0 and the database is not read.
This flag is ignored if "file" is set to a DB different from the currently
loaded database.
return: "1" on success, else "".
Examples:
tagsave(); //save tags now (typically to "<xydata>\tag.dat")
tagsave(, 8); //save tags now, using the SafeSave strategy
tagsave("E:\Test\TagsDB\Test.dat"); //save the current tags to this file
+ Tagging: The tag database now gets the author (Windows User ID) and the timestamp
(Now) in the first line every time it is written.
OLD: XYplorer File Tags v5
NEW: XYplorer File Tags v5 - last modified by Donald, 2022-11-30 09:19:29
This line is intentionally not translated into non-English languages to make it
machine-processable.
+ Special Property | Length: The context menu of the column header now offers the
toggles "Show Hours" and "Show Milliseconds". Lets you format the length display the
way you like it.
! Special Property | Length: Sorting failed on media 1 hour or longer. Fixed.
![info :info:](./images/smilies/info20.png)
To easily
upgrade to this BETA version from XYplorer, hold down the
CTRL key while you click
Help | Online Support | Check for Updates. If you prefer to
download the BETA version, choose one of these packages:
(1)
Installer Package, (2)
No-Install Package (for manual unpacking).
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.