GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Columns: CustomGrouping (group by SizeRange/FileTypeGroup..)


#1

Introduction
"CustomGrouping" - Some columns which DO does not support natively.
These (may) provide adjustable group names, number of groups or sorting items by DO internal settings.

Columns:
Notice: Names and size ranges of groups can be customized from script config, see screenshot.

  • Column “RandomNumber”, let’s you sort items randomly
  • Column “Size1”, group by name of size groups
  • Column “Size2”, group by range of size groups
  • Column “Size3”, group by name + range of size groups
  • Column “FileTypeGroup”, show and group by DOs file type group (v11.18+)
  • Column “Kind”, import Explorers “Kind” column (v12.0.8+), thx to Leo o) -> Column: Kind and File Type Group

Demo:


Installation:
To install the columns, download the *.js.txt file below and drag it to Preferences / Toolbars / Scripts.
After that, right click any listers column header and add the columns from the “script” submenu.

Download:
[ul]Latest:
[li]v0.4.2 / 2017.01.09 - new column "Kind"
Column.Generic_CustomGrouping.js.txt (35.5 KB)[/li]
[li]v0.4 / 2016.06.15 - new column “random” to randomize lister content/sort order
Column.Generic_CustomGrouping.js.txt (32.7 KB)[/li]
[li]v0.3 - new file type (group) column, another size column for grouping items by name, more…
Column.Generic_CustomGrouping.js.txt (31.6 KB)[/li][/ul]


More granularity in group by name, please?
Group by file type group
Sort/Group files/folders by Filter
DO12 - Is Random Manual Sorting possible?
Group files by Kind?
Group by date / days
Multiline or JSON ScriptConfig type
Define group sort settings
Column: CreationMonth (sort and group by month)
DO12 - Is Random Manual Sorting possible?
#2

Updated to v0.1a:

  • all tabs removed from script code (seemed to have a bad effect on group names)
  • cleanup of names and IDs to prepare the Size columns to fit for usage on folders as well (currently these are put into an “Unknown” group)

#3

This looks great. My main startup/goto/homepage lister is a folder full of shortcuts. I’d really like custom groups based on partial filename matches or partial description matches. Wildcard would be great, regex even better. eg

.Flash.
.Work.
.Portable.
.Projects.
.Other.

S


#4

Thanks for the great work!! :smiley:
Do you think it is possible to do the custom grouping for the “Modified” column as well? :slight_smile:


#5

@SpiroC
I’ll see what I can do. I think I have a usecase for these as well, so… o)
You might check the regexp columns in the meantime (made by wowbagger iirc), they might group on regexs already.

@heinrichk
I guess so, yes.
In what way would you like the modified items to be grouped? Something like “within 1 day”, “within two weeks” etc.?

I’m a bit short on time at the moment, but stay tuned. o)


#6

Updated to v0.3:

  • new file type (group) column
  • another size column for grouping items by name
  • added ConfigHelper, updated XLog, using experimental ColumnGrinder

Notice:
The “FileTypeGroup” column requires DO v11.18 or prior beta version, where handling for item-groups was enhanced.


#7

Updated to v0.4:

  • new column “RandomNumber” to randomize lister content/sort order

#8

Updated to v0.4.2:

  • bug fixes (FileTypeGroup was only showing “0” in DOv12, script error fixed after changing script config)
  • new column “Kind”, import Explorers “Kind” column (v12.0.8+), thx to Leo o) -> Column: Kind and File Type Group

#9

Thank you for this useful script, but i have some issues when files grouped by filetype i cannot use manual sort toggle (the button disabled) but if i toggle it via folderoptions it works.

And also a request if you dont mind, can you please make extension field but always in uppercase no matter extension’s case in filename.