Page 1 of 1

How to use tagdrop

Posted: 19 Aug 2014 01:50
by xytrier
hi all,
I've downloaded the trial version of xyplorer mostly to see if it can do what I'm looking for in terms of file tagging.
While trying to use Tagdrop as detailed here http://www.xyplorer.com/release_10.90.htm
I haven't been able to make it work.
How do I install the script, and how can I create a tab/separator such as the one displayed in http://www.xyplorer.com/images/whatsnew ... ipt1_t.png - the one called "tagging", where the arrow points to.

many thanks for your help.

cheers

Re: How to use tagdrop

Posted: 19 Aug 2014 07:39
by highend
how can I create a tab/separator such as the one displayed in http://www.xyplorer.com/images/whatsnew ... ipt1_t.png - the one called "tagging"
Right click on (a free space) on the catalog and select Add New Category... (bold font)
Give it a caption like "Tagging", click OK.
How do I install the script
Go to the script folder of XY.
E.g. Ctrl+Shift+Alt+D (which brings you to the "Data" folder of XY)
Go into the folder "Scripts" from there.

Create a new file. Name it "tagdrop.xys"
Open it with a text editor and copy the following content into it:

Code: Select all

// Caption example = Set tag to dropped items: cats, dogs
	$tags = gettoken(self("caption"), 2, ":", "t");
	tag $tags, <get drop |> , 1;
Save it.

Right click on the category "Tagging" (if you named it like so) in the catalog,
choose "Add New Item Here..."

Caption: Tag: flowers,mushrooms|:tagsadd
Location: load "tagdrop.xys";

Hit OK.

Now whenever you drop files on this new entry they will get tagged with...
flowers and mushrooms.
If you want to use different tags, just replace the ones in the caption of this catalog entry...

Re: How to use tagdrop

Posted: 19 Aug 2014 10:44
by PeterH
highend wrote:Go to the script folder of XY.
E.g. Ctrl+Shift+Alt+D (which brings you to the "Data" folder of XY)
Go into the folder "Scripts" from there.
A bit more easy way to do this:
Click: Scripting / Go to Scripts Folder

And advantage: it will also work if your scripts folder is moved to some other location instead of XYData :D

Re: How to use tagdrop

Posted: 19 Aug 2014 12:36
by admin
Note that the new "Click and Tag" (recent beta) is much easier to use. tagdrop is not needed anymore.

Re: How to use tagdrop

Posted: 20 Aug 2014 02:37
by CuriousGuy
Can somebody elaborate on tagdrop? I don't see anything about it in the help file.

Re: How to use tagdrop

Posted: 20 Aug 2014 02:40
by CuriousGuy
nevermind....i am using link in first post.