Is there a script command to add a tag?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Norn
Posts: 521
Joined: 24 Oct 2021 16:10

Is there a script command to add a tag?

Post by Norn »

Script+AHK=quickly add common tags
Windows 11 24H2 @100% 2560x1440

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Is there a script command to add a tag?

Post by highend »

tag, tagitems()?
One of my scripts helped you out? Please donate via Paypal

Norn
Posts: 521
Joined: 24 Oct 2021 16:10

Re: Is there a script command to add a tag?

Post by Norn »

Thx,but it doesn't work...
Windows 11 24H2 @100% 2560x1440

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Is there a script command to add a tag?

Post by highend »

And we need to guess what exactly doesn't work?
One of my scripts helped you out? Please donate via Paypal

Norn
Posts: 521
Joined: 24 Oct 2021 16:10

Re: Is there a script command to add a tag?

Post by Norn »

I'm a script layman,just random test scripts...

I found additional commands at XYplorerHelp.pdf:
Examples
tag "Green"; //set label "Green" to all selected items
tag 3; //set label #3 to all selected items
tag 3, <curitem>; //set label #3 to current item
tag 0, <curitem>; //remove any label from current item
tag 3, "C:\foo.txt|D:\bar.txt"; //set label #3 to these items
tag; //remove all labels from all selected items
tag "cats,dogs", , 1; //add tags "cats" and "dogs" to all selected items
tag "cats,dogs", , 1, 1; //set tags "cats" and "dogs" to all selected items
tag "cats,dogs", , 1, 2; //remove tags "cats" and "dogs" from all selected items
tag , , 1, 2; //remove all tags from all selected items
tag "wow", , 2; //set comment "wow" to all selected items
tag , , 2; //remove all comments from all selected items
tag "wow", , "ex3"; // set "wow" to Extra Tag 3 of all selected items
Windows 11 24H2 @100% 2560x1440

Post Reply