If I want to force update(write) the tag.data file, I have to click "save settings" menu or exit XYplorer.
For example:
Code: Select all
"test1"
$file = get('SelectedItemsPathNames');
$file = renameitem('temp01.txt', $file); // work
tagitems('tag', 'test1', $file); // not work
// it's ok
"test2"
$file = get('SelectedItemsPathNames');
tagitems('tag', 'test2', $file);
$file = renameitem('temp02.txt', $file);
// test1, then test3, not work
// test2, then test3, it's ok
"test3"
$file = get('SelectedItemsPathNames');
tagitems('tag', 'test3', $file);