Page 1 of 1

Managing tags & other questions regarding scripts/functions

Posted: 07 May 2014 21:35
by Ernie
Hello. Thanks for this program, it's the most advanced filemanager I found so far in the last years.
Sorry for the mass of text/questions following but I thought a single thread would be better than several.
There are some functions I would like to have and I don't know if they already exist in some way or can be triggered with scripts, so I just ask for solutions here.
If something is not possible yet just see it as suggestion.

1. The main cause why I want to use this program is because of the tag-function.
I already found out how to make a script like this:

Code: Select all

$tags = gettoken(self("caption"));
  tag $tags, <get drop |> , 1, 0;
  taglist($tags,1);
save it for example as "droptodown.xys"
and create items (which will be tags) in the catalogue with

Code: Select all

::load "droptotag";
with the result of tags which I can use to click or drag files onto to add tags.

1.1. Here comes what I want to change:
I want to have a toggle button/script/whatever which will change the "mode", so instead of adding a certain tag it shall remove it.
I already found out how to remove all tags and how to remove a certain tag, but it has downsides I don't want to have.
Why I don't want "Removing all tags" is obvious and for removing a certain tag I would have to create an extra remove-tag-item for each add-tag-item which is annoying, makes the list longer and is just impractical.
So I want to use the existing add tag-items and just toggle them somehow to delete.

1.2. But the most important function I need without the program is pretty much useless for me is:
At the moment when you click on such an tag-item it will add the tag to a marked file as well.
I want it to open a new tab OR use the open tab (a setting to choose between them would be nice) to show all files tagged with this (clicked) tag.
(It would also be nice if these functions - clicking tag-item to tag; clicking tag-item to show tagged files - could be toggled like in 1.1. to be able to use both in an easy way.)
The next step to make it perfect would be to be able to use "sticky elements" with these tag-items to combine them with AND. So if you want to see all files tagged with "image" and "sun" you just click on the tag "image" and then on "sun", now you could click again on "sun" and it will only show files tagges with "image", etc.
Side note: Be able to either show ALL files on your system with this tag OR to only show the files within the current/marked directory with this tag.

1.3. On a side note, tag-blobs:
http://www.xyplorer.com/xyfc/viewtopic. ... 15#p100290
admin wrote:
Burningfeetman wrote:... Any chance that we could see a tag "cloud" pop-up window added to XYplorer, to help navigate vast amounts of tagged files?
Absolutely. I plan to add a "tag tree" by which you can browse all tagged items.
Is this included in the current version (how to use?) or when will it come?
I don't know if I understand it correctly but I imagine a button in the toolbar which opens a pop up, which shows the most-used/searched tags (or labels) in different font sizes. Like a lot of blogs do it.

1.4. Grouping tag-items in the catalogue (different levels)?
Side note: It would be perfect if the tags would combine automatically. So there is like
"Images" with the lower level "sun" and "moon" and there is "Videos" with "sun" and "moon" and if you add the tag "moon" of "Images" they will combine so a tagged file gets something like "Images-moon", so that I don't need to make different tag-items for it with longer names but can keep it simple and clear.

1.5. Additional filters (buttons?) for certain filetypes (to only show videofiles, images, etc. in file list).

1.6. How to automatically make items in the catalogue for all tags from an existing tag-list and with a certain script line? I don't want to create each tag again.

2. How to make the inner window for the file lists a "fixed size"?
What I mean: In Windows XP there is a bigger distance between the status bar in the bottom and the files. If you come across a folder with many files/folders inside it will show a scroll bar. Due to the gap being used for it in XP the number of files shown (like in one column in list view) will stay the same, while it will change in XYplorer.
Example: The window has a size so that exactly 25 files are shown in a column when there are just a few thin rows, but when there are much more it will be less files shown. It's annoying if it constantly changes, I want to have the same number in each view.

3. Easily Change between Windows shell menu and xyplorer menu if you right click or right-click-drag a file? Or customize the xyplorer one, say, fuse the functions?

4. Don't highlight files in the file list (with a green background). I only want folders to be highlightet in the tree. How?

Thanks in advance for helpful tips.

Edit: Added 1.6.

Re: Managing tags & other questions regarding scripts/functi

Posted: 08 May 2014 05:07
by bdeshi
Additional filters (buttons?) for certain filetypes (to only show videofiles, images, etc. in file
Visual Filters can do this. It has it's own button too. Open, Customize toolbar->search for "visual". (Right click on thw button to find filter editing commands.)
Easily Change between Windows shell menu and xyplorer menu if you right click or right-click-drag a file? Or customize the xyplorer one, say, fuse the functions?
If you have 64bit OS, then your context menu has "show 64-bit Context Menu" option which switches between XY & WE menus. But fusing the menus together is currently not possible cause XY is a 32bit software. No 32bit app can have 64bit menus.

Re: Managing tags & other questions regarding scripts/functi

Posted: 08 May 2014 06:48
by admin
Hi and welcome!

Yep, a bit overwhelming your post. I suggest you pick out one point and we focus on that.

Don

Re: Managing tags & other questions regarding scripts/functi

Posted: 08 May 2014 13:56
by Ernie
Thanks, SammaySarkar, this helps. Would help if it would be like in other filemanagers directly accessible per small buttons next to the search bar, but then I could do this by myself someday.

I don't have a 64bit OS (yet). In my 32bit OS I have an entry to switch the menus, too. But it's just temporary, it doesn't stay this way.

@admin: Okay, sorry. And I even forgot a point. :)

The most important function I need is 1.2., because I want to only use a mouse and want it easy to work with thousands of files with tags.

Could I ask for a small second thing? I'm sure it should be possible with a short script (with the function taglist) but I don't know how. I have created a long list with tags and now I have to create new tag-items in the catalogue for each. I would like it to make these automatically (1.6.).

Re: Managing tags & other questions regarding scripts/functi

Posted: 08 May 2014 14:01
by admin
Ernie wrote:The most important function I need is 1.2., because I want to only use a mouse and want it easy to work with thousands of files with tags.
Sounds like Tag Tree. It's planned.