I wanted to create a script to allow selection of folder(s) or file(s), then to tag them based on some filename criteria automatically.
More information within script.
Creates XYData\AutoTag folder
Creates example.txt file within autotag folder
Creates ini file in the location of the autotag.xys file
Logic of script:
The script obtains a list of files based on selection in XY;
Obtains a list of files in subdirectories.
Each file is tested against the autotag match files.
Each autotag match file, contains lines of text with up to 4 columns of data separated by |
e.g.
matchfilenamespec*|tags put here|foldermatch|movetofolder
if filename is like matchfilenamespec then tag the file with "tags put here"
if the filename matches and the movetofolder has been provided the file will be automatically moved to that location.
Setup instructions within file.
Changes:
0.2 Fixed some AllowFileMoves issues.
Autotag Script
Autotag Script
- Attachments
-
- AutoTag.xys
- Version 0.2 11/07/2014
- (13.55 KiB) Downloaded 359 times
-
- AutoTag.xys
- Version 0.1 07/07/2014
- (13.09 KiB) Downloaded 271 times
Re: Autotag Script
Just saying thank you for putting effort into this topic.
It seems to be so lowly appreciated by others, since nobody comments. I just discovered it.
I think XYplorer still has a lot to improve for tagging to get where it should be. But thx to you for trying to help out.
Before I really start using file-tagging in XYplorer, I would need at least 2 more things, though:
A command that lets me "repair" a tag-database, meaning re-define the paths of orphaned files in an efficient manner.
A script similar to yours that will automatically tag any new file that matches (not manually).
It seems to be so lowly appreciated by others, since nobody comments. I just discovered it.
I think XYplorer still has a lot to improve for tagging to get where it should be. But thx to you for trying to help out.
Before I really start using file-tagging in XYplorer, I would need at least 2 more things, though:
A command that lets me "repair" a tag-database, meaning re-define the paths of orphaned files in an efficient manner.
A script similar to yours that will automatically tag any new file that matches (not manually).
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
Re: Autotag Script
Hello, thanks for your Script,
I'm wondering if I want to add the tag only on the folder instead of the file inside.
what should I do to alter the script?
I'm wondering if I want to add the tag only on the folder instead of the file inside.
what should I do to alter the script?