I want to use XYplorer as a library cataloging program

Features wanted...
highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post 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...
One of my scripts helped you out? Please donate via Paypal

Ryan
Posts: 63
Joined: 10 Jul 2015 02:47

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

Post 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 <>|*?"

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

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

Post by highend »

Then you didn't apply the tweak and or not using v15.50.0001...
One of my scripts helped you out? Please donate via Paypal

PeterH
Posts: 2785
Joined: 21 Nov 2005 20:39
Location: Germany

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

Post 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.
Win11 Pro 223H2 Gerrman

Ryan
Posts: 63
Joined: 10 Jul 2015 02:47

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

Post 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?

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

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

Post 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?
One of my scripts helped you out? Please donate via Paypal

Ryan
Posts: 63
Joined: 10 Jul 2015 02:47

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

Post 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.

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

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

Post 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 2598 times
One of my scripts helped you out? Please donate via Paypal

Ryan
Posts: 63
Joined: 10 Jul 2015 02:47

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

Post 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?

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

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

Post 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.
One of my scripts helped you out? Please donate via Paypal

Ryan
Posts: 63
Joined: 10 Jul 2015 02:47

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

Post 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"?

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

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

Post 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 2592 times
or like a html form as in my previous post.
One of my scripts helped you out? Please donate via Paypal

Ryan
Posts: 63
Joined: 10 Jul 2015 02:47

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

Post 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.

Ryan
Posts: 63
Joined: 10 Jul 2015 02:47

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

Post 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!!

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

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

Post 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.
One of my scripts helped you out? Please donate via Paypal

Post Reply