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]
ReTag - Record/Restore tags
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
ReTag - Record/Restore tags
To see the attached files, you need to log into the forum.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: ReTag - Record/Restore tags
Hi, Sammay.
Thanks for sharing.
Sorry for asking before trying, but I know I wouldn't even try this without this prior knowledge - fearing messing with some obscure setting.
Do your script store tags on a remote (ie, other than official .dats) file?
By tags it means "tags, labels and comments"?
- in case of a no, can this be implemented?
I'm very interested in pushing up maximum potential from XY features I am keeping distance of because they imply saving certain data and I really dislike such a thing. My latest projects were built to deal with this and your script may fit my need. Perfect timing, I'd say...
Thanks for sharing.
Sorry for asking before trying, but I know I wouldn't even try this without this prior knowledge - fearing messing with some obscure setting.
Do your script store tags on a remote (ie, other than official .dats) file?
By tags it means "tags, labels and comments"?
- in case of a no, can this be implemented?
I'm very interested in pushing up maximum potential from XY features I am keeping distance of because they imply saving certain data and I really dislike such a thing. My latest projects were built to deal with this and your script may fit my need. Perfect timing, I'd say...
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: ReTag - Record/Restore tags
no the tags are stored inside the script file. The idea is you have a master copy of this script at <xyscripts>. Then you just copy it to folder that needs tag-sharing.
If I'd made it save tags in some extra file, then when copying that folder, you'd also have to copy that other file. But as it works now, the saved tags are automatically transferred with the folder, because the script lives in the folder. Completely portable. (Remember, this script is meant to be a method of sharing tags between separate XYplorers.)
"By tags it means "tags, labels and comments"?" - yes, plus the 5 extratags [but note the note on labels and extratags.]
If I'd made it save tags in some extra file, then when copying that folder, you'd also have to copy that other file. But as it works now, the saved tags are automatically transferred with the folder, because the script lives in the folder. Completely portable. (Remember, this script is meant to be a method of sharing tags between separate XYplorers.)
"By tags it means "tags, labels and comments"?" - yes, plus the 5 extratags [but note the note on labels and extratags.]
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: ReTag - Record/Restore tags
Sammay,
First execution popped broken messages (alignment issues, I suppose - messages overflowing title bar and the like), second run went ok.
Take a look at this - I'll do captures if needed (and time permits).
First execution popped broken messages (alignment issues, I suppose - messages overflowing title bar and the like), second run went ok.
Take a look at this - I'll do captures if needed (and time permits).
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: ReTag - Record/Restore tags
Billions of blue blistering broken brackets!
You're right. Fixed. Thanks.
You're right. Fixed. Thanks.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
XYplorer Beta Club