Tags - complete list
Tags - complete list
Hello,
I am trying to organize all my tags which I have not used in a while and so I may have forgotten some of the existing features.
I have been adding tags recently to documents but when I pull up the tag list those that I created in the past do not show up. I tried "Load Tags Database" but it didn't change the list. If I go on each document and I right click and then select "Add tags to Tag List" and it will add them.
SIs there a way to update the list so that it is a "complete list" of all the existing tags with just one command?
If not, what is the shortest way to make a complete list?
Thank you.
I am trying to organize all my tags which I have not used in a while and so I may have forgotten some of the existing features.
I have been adding tags recently to documents but when I pull up the tag list those that I created in the past do not show up. I tried "Load Tags Database" but it didn't change the list. If I go on each document and I right click and then select "Add tags to Tag List" and it will add them.
SIs there a way to update the list so that it is a "complete list" of all the existing tags with just one command?
If not, what is the shortest way to make a complete list?
Thank you.
Re: Tags - complete list
If you have got one of the tagging buttons on the toolbar such as "Add Tags", right click it "Update Tag List".
Re: Tags - complete list
Great thanks. I thought there was a way to do it.
Another one if I may is that I have a script that automatically copies documents in folders when the document is tagged with the same name of that particular folder. I realized that when these documents are copied the tags are not copied as well. I do have checked the following:
Configuration | Information | Tags | Copy tags on copy operations
Is there anything else I should change so that the tags are always copied along with the document?
Another one if I may is that I have a script that automatically copies documents in folders when the document is tagged with the same name of that particular folder. I realized that when these documents are copied the tags are not copied as well. I do have checked the following:
Configuration | Information | Tags | Copy tags on copy operations
Is there anything else I should change so that the tags are always copied along with the document?
Re: Tags - complete list
Post the script?
One of my scripts helped you out? Please donate via Paypal
Re: Tags - complete list
Code: Select all
$saveTo = replace(trim(input("Enter Folder", "Input each folder on a new line!", "F:\FRUITS", "m"), <crlf>), <crlf>, "|");
$tags = replace(trim(input("Enter tag(s)", "Input each tag on a new line!", "Banana<crlf>Orange<crlf>Apple", "m"), <crlf>), <crlf>, "|");
$copyList = "";
foreach($tag, $tags, , "e") {
$tagged = quicksearch("tags:$tag", "*", , "s");
foreach($item, $tagged, <crlf>, "e") {
$item = trim($item);
$tag = trim($tag);
if ($tag != $lastTag) { $copyList .= "<::>$tag" . <crlf>; }
$dstFile = trim($saveTo, "\") . "\" . $tag . "\" . gpc($item, "file");
if !(exists($dstFile)) { $copyList .= $item . <crlf>; }
$lastTag = $tag;
}
}
if !(regexmatches($copyList, "^([a-z]|\\)")) { status "No new item(s) found!", "8B4513", "stop"; end true; }
$copyList = formatlist(replace($copyList, "<::>", , , , 1), "e", <crlf>); // Remove the first separator
setting "BackgroundFileOps", 0;
$count = gettoken($copyList, "count", "<::>");
while ($i++ < $count) {
$section = gettoken($copyList, $i, "<::>");
$tag = gettoken($section, 1, <crlf>);
$itemsToCopy = replace(gettoken($section, 2, <crlf>, , 2), <crlf>, "|");
if ($itemsToCopy) {
$copyToPath = trim($saveTo, "\") . "\" . $tag;
copyto $copyToPath, $itemsToCopy, , 2, 2, 1, 1, 0, 0, , 0, 0;
}
}
wait 10;
status "All new item(s) copied...";Re: Tags - complete list
Occasionally the target item will not be tagged when the source item has a tag and label.
This seems to work fine:
Code: Select all
copyto "D:\T1\", "<curitem>", , 2, 2, 1, 1, 0, 0, , 0, 0;Code: Select all
copyto "D:\T1\", "<curitem>", , 2, 2, 1, 1Windows 11 24H2 @100% 2560x1440
Re: Tags - complete list
Thanks.
Is this line of code:
supposed to replace this one?
or does it need to be added? I try to run it both ways and I get errors in both instances.
Is "D:\" supposed to be replaced with the actual directory? What's T1?
Is this line of code:
Code: Select all
copyto "D:\T1\", "<curitem>", , 2, 2, 1, 1Code: Select all
copyto "D:\T1\", "<curitem>", , 2, 2, 1, 1, 0, 0, , 0, 0;Is "D:\" supposed to be replaced with the actual directory? What's T1?
Re: Tags - complete list
I ran it again a few times and it happened again, it's an issue.
Windows 11 24H2 @100% 2560x1440
-
admin
- Site Admin
- Posts: 64849
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Tags - complete list
You mean this?
Code: Select all
copyto "D:\T1\", "<curitem>", , 2, 2, 1, 1, 0, 0, , 0, 0;FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 64849
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Tags - complete list
Foreground or background operation?
Custom Copy or shell copy?
Custom Copy or shell copy?
FAQ | XY News RSS | XY X
Re: Tags - complete list
Background operation
Custom Copy
Custom Copy
- Attachments
-
- FileOperations.png (58.29 KiB) Viewed 1302 times
Windows 11 24H2 @100% 2560x1440
-
admin
- Site Admin
- Posts: 64849
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Tags - complete list
I assume background operation is a necessary condition for this issue to happen?
FAQ | XY News RSS | XY X
Re: Tags - complete list
I unchecked both and it still happens.
- Attachments
-
- FileOperations2.png (58.2 KiB) Viewed 1293 times
Windows 11 24H2 @100% 2560x1440
XYplorer Beta Club