grouping

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
sgeva2001
Posts: 6
Joined: 26 Apr 2012 16:12

grouping

Post by sgeva2001 »

I have many directories which are spread in many location.
I want to group them together as one directory so I can sort and act on their files (Branch View , Visual Filters ...)
Similar to library in win7 :mrgreen: .

thank you
Shaul

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: grouping

Post by Marco »

Will be possible with Virtual Folders.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

grindax

Re: grouping

Post by grindax »

.
Last edited by grindax on 22 Jan 2016 22:19, edited 1 time in total.

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

Re: grouping

Post by admin »

grindax wrote:Several recent programs like the new SkyDrive client, the Google Drive client, etc. put entries underneath Favorites in WE to conveniently access cloud storage. It would be nice if these same entries under Favorites were displayed in XY in addition to WE in my opinion.
The real location of Win7 "Favorites" is %USERPROFILE%\Links.

grindax

Re: grouping

Post by grindax »

.
Last edited by grindax on 22 Jan 2016 22:19, edited 1 time in total.

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

Re: grouping

Post by admin »

grindax wrote:
admin wrote:
grindax wrote:Several recent programs like the new SkyDrive client, the Google Drive client, etc. put entries underneath Favorites in WE to conveniently access cloud storage. It would be nice if these same entries under Favorites were displayed in XY in addition to WE in my opinion.
The real location of Win7 "Favorites" is %USERPROFILE%\Links.
Thanks. And I know I can add them manually by adding them to the catalog, for example. But for convenience it would be nice for all the Win7 features to be visible in their own sections in XY by default. The side effect, for Favorties at least, is that it will also be noob-pleasing. Other things, like HomeGroup and Libraries, I'm not so sure can just be added to the catalog.
What/Where is "in their own sections"?

grindax

Re: grouping

Post by grindax »

.
Last edited by grindax on 22 Jan 2016 22:20, edited 1 time in total.

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

Re: grouping

Post by admin »

I think I'll begin with implementing some other ideas that have a higher noob-pleasedness-per-coding-hour ratio.

sgeva2001
Posts: 6
Joined: 26 Apr 2012 16:12

Re: grouping

Post by sgeva2001 »

Marco wrote:Will be possible with Virtual Folders.
It is not possible today or any workaround?
I do not find "Virtual Folders" in the menu.

thank you
Shaul

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

Re: grouping

Post by admin »

sgeva2001 wrote:
Marco wrote:Will be possible with Virtual Folders.
It is not possible today or any workaround?
I do not find "Virtual Folders" in the menu.
Well, the menu does not contain items from the future. Or maybe it does, but they are not visible (yet).

The following shows how to view several locations in one list using ";" as separator and various switches as you please:

Code: Select all

    + Name Search (Find Files and Branch View): Added switch "n" to 
      force a non-recursive search (overwriting the Include Subfolders 
      checkbox). 
      Notes:
      - The absence of the "r" switch (= recursive search) is in many 
        contexts sufficient to force a non-recursive search. The 
        explicit "n" is only needed when the ":flat" switch is given as 
        well, because Branch Views are recursive by default.
      - In a Multi Branch View this switch will also suppress listing 
        the top folders of each branch.
      Examples:
      Identical non-recursive single location searches:
        E:\Test\a\? /
        E:\Test\a\? /n
      Identical non-recursive multi location searches:
        E:\Test\a\;E:\Test\b\? /
        E:\Test\a\;E:\Test\b\? /n
      Non-Identical Multi Branch Views:
        E:\Test\a\;E:\Test\b\? /:flat         = recursive
        E:\Test\a\;E:\Test\b\? /n:flat        = non-recursive

sgeva2001
Posts: 6
Joined: 26 Apr 2012 16:12

Re: grouping

Post by sgeva2001 »

Yes this is a very good solution. :biggrin:
I hope it will remember all the long dir list I include in the location window.

thank you very much
Shaul

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

Re: grouping

Post by admin »

sgeva2001 wrote:Yes this is a very good solution. :biggrin:
I hope it will remember all the long dir list I include in the location window.

thank you very much
Shaul
I think it will. Unless it's larger than 2GB of characters. :)

Curious: how many folders are you adding to that list?

sgeva2001
Posts: 6
Joined: 26 Apr 2012 16:12

Re: grouping

Post by sgeva2001 »

Her is the list (but I have to add 20 folder):


D:\RECORD\A_AZRECHIT_YAEL;D:\RECORD\A_BRUIT_SHLEMA_YAEL;D:\RECORD\A_YAEL;D:\RECORD\A_YAEL1;D:\RECORD\AYAEL1;D:\RECORD\B_GIGA;D:\RECORD\B_GIGA_BET;D:\RECORD\B_LBIRUIT_OFERA;D:\RECORD\B_LIBRUT;D:\RECORD\B_LIVE_LIBRUIT_OFERA;D:\RECORD\B_NOI;D:\RECORD\DR_NOI;D:\RECORD\DR_NOI_Before;D:\RECORD\Ezrachit;D:\RECORD\Ezrachit_New;D:\RECORD\GIGA_BET;D:\RECORD\GIGA_BET_new;D:\RECORD\Giga_Bet_Neww;D:\RECORD\GIGA_BETT;D:\RECORD\KUSP's Ask Doctor Dawn Podcast;D:\RECORD\L_BRUIT;D:\RECORD\Leo Laporte - The Tech Guy;D:\RECORD\Mike Tech Show Podcast;D:\RECORD\OFERA_new;D:\RECORD\Ofera_New_New

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: grouping

Post by Stefan »

sgeva2001 wrote:Her is the list (but I have to add 20 folder):
Here is an script to collect current selected folder(s) to an list.
Maybe that help a bit to collect the folders.
No human error detection right now, i.e. will also collect files.

Code: Select all

"Add current folder(s) to list"
  global $pCollection; perm $pCollection;
  $pCollection = $pCollection . get("SelectedItemsPathNames", ";") . ";";
  if (strlen($pCollection) > 2147483648) {echo "2GB string length reached";}  // ;-)
  text replace($pCollection, ";", ";<crlf>");

"Show / Modify List..."
  global $pCollection;
  $temp = replace($pCollection, ";", ";<crlf>");
  writefile("%tmp%\xycollectionlist", $temp);
  run notepad "%tmp%\xycollectionlist",,1;
  $temp = readfile("%tmp%\xycollectionlist");
  $pCollection = replace($temp, ";<crlf>", ";");
  text replace($pCollection, ";", ";<crlf>");

"Remove current folder from List..."
  global $pCollection;
  $pCollection = replace($pCollection, "<curitem>;");
  text replace($pCollection, ";", ";<crlf>");

"Copy List to clipboard"
  global $pCollection;
  copytext $pCollection;

 

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

Re: grouping

Post by admin »

I posted a button snippet with a similar function somewhere. No time to look for it now.

Post Reply