Hi,
it would be nice if XY could sort files by several Requirements and then display it in groups like in the windows explorer. The groups which are shown in blocks are very display friendly and you can find files much faster.
Thanks
Sorting then Grouping
-
highend
- Posts: 14955
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Sorting then Grouping
And these requirements are?by several Requirements
E.g. grouping can be done via color filters like so (in this case by extensions, every second group is colorized...):
Code: Select all
$color = "000000,00CC00"; // Light green
$extensions = formatlist(regexmatches(listfolder(, , 1, <crlf>), "[^.]*?(?=\r?\n|$)", <crlf>), "sd", <crlf>);
$filter = "";
while ($i++ < gettoken($extensions, "count", <crlf>)) {
if ($i % 2 == 0) { $filter .= "*." . gettoken($extensions, $i, <crlf>) . ";"; }
}
sortby "Ext", "a";
colorfilter("$filter>$color");
One of my scripts helped you out? Please donate via Paypal
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Sorting then Grouping
You can also do a limited color grouping abilities by enabling the grid:
Tools | Customize List | Show Grid
and setting the group type here:
Configuration | Colors and Styles | More Colors | Grid style == Alternate Groups
or
Configuration | Colors and Styles | More Colors | Grid style == Highlighted Groups
and set the grid color here, if you aren't happy with the default:
Configuration | Colors and Styles | Colors | Grid
Tools | Customize List | Show Grid
and setting the group type here:
Configuration | Colors and Styles | More Colors | Grid style == Alternate Groups
or
Configuration | Colors and Styles | More Colors | Grid style == Highlighted Groups
and set the grid color here, if you aren't happy with the default:
Configuration | Colors and Styles | Colors | Grid
XYplorer Beta Club