Searching for And Adding New File Categories

Features wanted...
Post Reply
u828576
Posts: 3
Joined: 28 Jun 2018 08:33

Searching for And Adding New File Categories

Post by u828576 »

> Hi guys
>
> Does it support categories adding and searching....
>
> Many thanks
>
> Philip
>

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Searching for And Adding New File Categories

Post by jupe »

You can't add categories per say as AFAIK, but the search is mega powerful, so you could make saved search templates that have something like this in name field

/types=jpg;bmp;ico

and make that a catalog item or a button or anywhere else that accepts input to launch the search, therefore creating unnamed quasi-categories.

u828576
Posts: 3
Joined: 28 Jun 2018 08:33

Re: Searching for And Adding New File Categories

Post by u828576 »

Thanks for the reply.

I want to add categories to the actual file just like you do in outlook and then search for them.

Is it similar to what you suggested

Nighted
Posts: 463
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

Re: Searching for And Adding New File Categories

Post by Nighted »

Wouldn't using tags achieve this?
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Searching for And Adding New File Categories

Post by jupe »

Your initial question was very vague, I misunderstood and thought you meant you wanted to add a set of certain files to this listing (that I refer to as file categories):

Image

but yes you can tag and label files and search for them, here is a brief overview of only some of the possibilities:

https://www.xyplorer.com/release_14.10.php#CAS
https://www.xyplorer.com/release_10.90.php#tagging

the search features are near limitless, but just try the app, the help file will guide you.

u828576
Posts: 3
Joined: 28 Jun 2018 08:33

Re: Searching for And Adding New File Categories

Post by u828576 »

Agree, a little vague.

Looks very powerful. Will there be a future ability to filter search the tags in the interface so that you dont have to manually scroll to the relevant tag each time you want to assign that particular tag to a file.?

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Searching for And Adding New File Categories

Post by jupe »

you can add like this in the name field to search:

tags:Red

or even the address bar like this ?tags:Red

try entering the following in the XY address bar for more info:

Code: Select all

::help "idh_find.htm#idh_findfilesbytags";
To assign tags easier, you can make the Tags column visible and do it from there, or the toolbar buttons, or a catalog item etc, there are many easy ways to do it rather than the info panel, the help file is your friend.

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

Re: Searching for And Adding New File Categories

Post by highend »

For tagging you could use a filterable list, like within this script:

Code: Select all

    $tagSep = getkey("TagsSeparator", "Settings");
    if ($tagSep == "") { $tagSep = ","; }

    $tagDB = "<xydata>\tag.dat";
    if (exists($tagDB) != 1) { status "No tag.dat file found, aborted!", "8B4513", "stop"; end true; }
    $content = readfile($tagDB);
    $tags = gettoken($content, 2, "Data:<crlf>");
    $tags = regexreplace($tags, "(^.+?\|\d+\|)");
    $tags = formatlist(regexreplace($tags, "\|.*?(?=\r?\n|$)"), "sed", <crlf>);
    if !($tags) { status "No tag(s) found in database, aborted!", "8B4513", "stop"; end true; }
    $sel = inputselect("Choose tag(s)", $tags, <crlf>, 2+4+32+64, , 600, 600);
    if !($sel) { status "No tag(s) selected, aborted!", "8B4513", "stop"; end true; }
    tagitems("tag", replace($tags, <crlf>, $tagSep));

One of my scripts helped you out? Please donate via Paypal

Post Reply