Allow to open a tab only showing tagged files or folders

Features wanted...
Post Reply
paul0
Posts: 137
Joined: 23 Oct 2009 19:26

Allow to open a tab only showing tagged files or folders

Post by paul0 »

I am not sure how to open a tab only showing tagged files or folders?

If we can use the content of tag.dat, we can save time to open it without searching.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Allow to open a tab only showing tagged files or folders

Post by SkyFrontier »

Can't say this is what your looking for, but you may want to try this:
Go to (CTRL+SHIFT+F9) Customize Toolbar and locate a button named Find By Tag. Click on it and then click the "add" button. On the right pane, you may want to arrange it up/down to have it in a position that fits your need better.
This will lightning fast locate anything you have tagged with XY within the entire machine.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

paul0
Posts: 137
Joined: 23 Oct 2009 19:26

Re: Allow to open a tab only showing tagged files or folders

Post by paul0 »

Thank you. It's almost there. I'd lik to find all files/folders tagged. The bottom ONLY allow to find files/folders by none/one type (color) of tags, but not of the combinations

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Allow to open a tab only showing tagged files or folders

Post by SkyFrontier »

Try this:
Get the names of your tags and edit following the pattern:

Code: Select all

*?tag:"Contact Soon";"Great!";"Red";"Green";"Urgent"; /r
and so on.

EDIT: In case you don't know (and to the ones who stumble upon this on that situation), you'll need to assign that pattern as a Custom Toolbar Button or paste it directly into the Address Bar.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Allow to open a tab only showing tagged files or folders

Post by SkyFrontier »

Side note: this will search for ALL tagged folders or files you have on your machine regardless their location. It just needs to have the correct tags names to work (do not make confusion with the COLORS themselves - the code look for the TEXT you can edit via (F9) Configuration > Tags > Customize Tag Names and Colors > Edit (or slow double click on the name itself).
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66362
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Allow to open a tab only showing tagged files or folders

Post by admin »

Run this through the address bar:

Code: Select all

*?tag:*

paul0
Posts: 137
Joined: 23 Oct 2009 19:26

Re: Allow to open a tab only showing tagged files or folders

Post by paul0 »

admin wrote:Run this through the address bar:

Code: Select all

*?tag:*
This works perfectly.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Allow to open a tab only showing tagged files or folders

Post by SkyFrontier »

Code: Select all

*?tag:*
How can I assign this pattern to a CTB?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Allow to open a tab only showing tagged files or folders

Post by serendipity »

SkyFrontier wrote:

Code: Select all

*?tag:*
How can I assign this pattern to a CTB?
::goto "*?tag:*";

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Allow to open a tab only showing tagged files or folders

Post by SkyFrontier »

I find it weird but it did the job. Thanks, Serendipity!

When trying to solve the problem I came up with this:

Code: Select all

   copytext "*?tag:*";
   focus a;
   #202;
   sendkeys"{enter}";
-but it just pops a dialog saying "nothing to paste!".
At the CKS Config (SHIFT+F9), Edit > Paste says:
Paste items from clipboard into Tree, List, or Catalog.
Is there any problem having support to Address Bar, too?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Allow to open a tab only showing tagged files or folders

Post by serendipity »

SkyFrontier wrote:I find it weird but it did the job. Thanks, Serendipity!

When trying to solve the problem I came up with this:

Code: Select all

   copytext "*?tag:*";
   focus a;
   #202;
   sendkeys"{enter}";
-but it just pops a dialog saying "nothing to paste!".
At the CKS Config (SHIFT+F9), Edit > Paste says:
Paste items from clipboard into Tree, List, or Catalog.
Is there any problem having support to Address Bar, too?
Problem is #202;
Its meant for copy/pasting files, not clipboard text.
Try this:

Code: Select all

   copytext "*?tag:*";
   focus a;
   sendkeys "^{v}";
   sendkeys"{enter}";
Tip: ^ means ctrl. I think shift is + and alt is %

But for what you are trying much better would be:

Code: Select all

   copytext "*?tag:*";
   focus a;
   goto <clipboard>;


SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Allow to open a tab only showing tagged files or folders

Post by SkyFrontier »

Goto <clipboard>.
Why not, if ::goto "*?tag:*"; is allowed?
The first thing that occurred me was the "CTRL+V" thing, then I realized that I couldn't - but you opened the track with the sendkeys "^{v}" trick.
XY amazes me more each and every day...
Thank you again, Serendipity!
Here I posted a hint on having such feature in extended ways (being able to differentiate favorite files and folders), and the "folders" version plays nicely with the propagate files script. I'm still wondering if I'm missing something (there's already such a thing, etc), but so far all of this is helping me much with a massive sync/backup task I'm currently involved with (being the lack of support to background processing of backups the only deal breaker I'm unable to circumvent... :| ).
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply