Page 6 of 8

Re: I want to use XYplorer as a library cataloging program

Posted: 30 Jul 2015 23:14
by highend
Open the XYplorer.ini file, and post a screenshot with
; Tweak: separator between item tags; one character only; not <>|*?
and the following 5 lines

Because when I add these tags the tag.dat file contains:
Jewish Identities; Surnames, Jewish—Lists and Histories
Exactly what was asked for.
My opinion is that the script is simply replacing the comma with a semicolon
That's the purpose of the script^^ Just replace the former used delimiter (the ",") with the new one -> to not render the tag.dat file useless if it already contains tagged files...

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 00:12
by Ryan
highend wrote:Open the XYplorer.ini file, and post a screenshot with
; Tweak: separator between item tags; one character only; not <>|*?
and the following 5 lines

Because when I add these tags the tag.dat file contains:
Jewish Identities; Surnames, Jewish—Lists and Histories
Exactly what was asked for.
My opinion is that the script is simply replacing the comma with a semicolon
That's the purpose of the script^^ Just replace the former used delimiter (the ",") with the new one -> to not render the tag.dat file useless if it already contains tagged files...
My XYplorer.ini file doesn't contain any line reading "Tweak: separator between item tags; one character only; not <>|*?"

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 00:14
by highend
Then you didn't apply the tweak and or not using v15.50.0001...

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 00:26
by PeterH
highend wrote:Then you didn't apply the tweak and or not using v15.50.0001...
Hm - I think he doesn't use v15.50.0001 or (at least) didn't save settings with this version.

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 00:48
by Ryan
I reinstalled the .0001 build, reapplied the tweak, and all is now working: both the tag delimiter tweak and the wildcard search. Thank you all for bearing with me.

My last question is how do I add text to custom columns and then search for the text within those columns?

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 00:52
by highend
My last question is how do I add text to custom columns
Be more precise. Which / what type of (custom) column(s) are you going to add? What content should it/them contain?

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 01:59
by Ryan
highend wrote:
My last question is how do I add text to custom columns
Be more precise. Which / what type of (custom) column(s) are you going to add? What content should it/them contain?
I want to add the following columns (all of which must be searchable): Author, Title, Publisher, Call Number, etc. I will need more than 5 customizable/searchable columns.

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 08:28
by highend
XY does only support 5 extra columns (where you can easily store additional data). But you could "abuse" one of these columns to do what you want.

You need:
- A script that let's you insert a "<x>" separated list of information into one of the extra columns where <x> is the delimiter (which you can't use in any! of the information itself). It can be a simple one or an easier to navigate one (with a html layout).

- As many custom columns (up to 32 at max) as you need. All with a script:
E.g.:
First CC:
return gettoken(tagitems("5", , <cc_item>), 1, ";");
Second CC:
return gettoken(tagitems("5", , <cc_item>), 2, ";");
";" was the chosen delimiter in that extra column (in this case: the fifth (5) extra column)

- A script that provides the necessary search function for this abused column content

I've tagged 1000 files with three pieces of information and added 3 custom columns to display them: Can't notice any slowdowns. So at least it would work...

For example, this is a html form that would allow the tagging of selected files. It just requires one variable to edit

Code: Select all

    $tagFields = <<<>>>
Author
Title
Publisher
Call Number
ISBN
>>>;
and the rest of the window (columns, positions of input fields, captions, buttons and window height) follows the number of entries in that variable:
Unbenannt.png
Unbenannt.png (7.21 KiB) Viewed 3131 times

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 13:57
by Ryan
That's a fascinating suggestion. The search script for the abused column content would execute from which specific search tab? Would it be possible to sort the abused column data by column view?

Would Don be able to add more than 5 "Extra" columns to work around this?

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 14:11
by highend
The search script for the abused column content would execute from which specific search tab?
The script could be called from anywhere, user defined command, toolbar button, keyboard shortcut... Don't know what you're asking here :?:
Would it be possible to sort the abused column data by column view?
Custom columns would display the different tags from that extra column and ofc each of them is sortable.

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 14:16
by Ryan
I am asking where the user would input the search criteria in order to search the information stored within the fields in the abused column. Could it appear as another tab under "Find Files"?

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 14:23
by highend
Could it appear as another tab under "Find Files"?
No.

A script has to ask what you're searching for.

Like:
Unbenannt.png
Unbenannt.png (2.41 KiB) Viewed 3125 times
or like a html form as in my previous post.

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 14:31
by Ryan
I follow you. I admire your idea tremendously. My only reservation is why can more "Extra"/searchable columns not be added to the main program? It would certainly be the easier solution.

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 22:14
by Ryan
highend wrote:
Could it appear as another tab under "Find Files"?
No.

A script has to ask what you're searching for.

Like:
Unbenannt.png
or like a html form as in my previous post.
I would like to try to implement this in my copy of XY. Could you give me a step by step set of instructions? Thank you so much!!

Re: I want to use XYplorer as a library cataloging program

Posted: 31 Jul 2015 22:25
by highend
There aren't any complete scripts that do all the necessary work atm (correct tagging + searching). They need to be written... So no, no step by step instructions.