ReTag - Record/Restore tags
Posted: 27 Jun 2015 17:05
THIS IS OBSOLETE. A simpler and better solution is here: viewtopic.php?f=5&p=167668#p167668
This is a "portable" method of sharing tags of a folder structure between XYplorer profiles. This records all types of XYplorer tags of all items in a folder and its subfolders and restores them when the script is executed a second time.
SETUP: Keep a clean copy of the script in <xyscripts>, then copy that to a folder scheduled for sharing.
There are no dependencies other than this single script file, you just need to keep the script intact (it saves tags inside itself), And keep the subfolder structure unchanged (The root folder itself can be moved anywhere)
DEMO: Suppose you're going to browse D:\TopSecret in another XYplorer instance which doesn't use the same tag database, and/or the folder path is different (say, \\Z\\Agent007.5\\TopSecret), but you need to see your current tags in that other XYplorer.
1. Copy this script into that root folder -- "D:\TopSecret" -- with any arbitrary name, and run it in your current XYplorer.
2. Then run the script in any other XYplorer, and tags of all child items will come back! AND the script will reset itself so you can use it on another folder.
NOTES: Just remember: label colors and extratag type/values can differ among XY profiles, there's no foolproof way to account for the arbitrary customization. And remember to read whatever the script has to say.
[/size]
[/size]
This is a "portable" method of sharing tags of a folder structure between XYplorer profiles. This records all types of XYplorer tags of all items in a folder and its subfolders and restores them when the script is executed a second time.
SETUP: Keep a clean copy of the script in <xyscripts>, then copy that to a folder scheduled for sharing.
There are no dependencies other than this single script file, you just need to keep the script intact (it saves tags inside itself), And keep the subfolder structure unchanged (The root folder itself can be moved anywhere)
DEMO: Suppose you're going to browse D:\TopSecret in another XYplorer instance which doesn't use the same tag database, and/or the folder path is different (say, \\Z\\Agent007.5\\TopSecret), but you need to see your current tags in that other XYplorer.
1. Copy this script into that root folder -- "D:\TopSecret" -- with any arbitrary name, and run it in your current XYplorer.
2. Then run the script in any other XYplorer, and tags of all child items will come back! AND the script will reset itself so you can use it on another folder.
NOTES: Just remember: label colors and extratag type/values can differ among XY profiles, there's no foolproof way to account for the arbitrary customization. And remember to read whatever the script has to say.
[/size]
[/size]