Page 1 of 1

How to Set Custom Columns, mainly for Length Items Ordinance

Posted: 01 Oct 2025 15:01
by Slideshow BoB
Needing to sort a found items' list, I thought Custom Columns would be a perfect match for my scenario. Then I realized it was a tad cumbersome to actually implement it.
Probably a limitation on my side, I decided to share this little guide I wrote in hopes this helps other people scratching their heads when trying to display those Custom Columns.

_____________________________________________________________
_____________________________________________________________

tools, configuration, information, custom columns:
pick an 'undefined' item, click EDIT, then set the fields as following:

CAPTION: strlenCC [or anything else]
TYPE: script
SCRIPT:

Code: Select all

return format(strlen(<cc_name>), "000");
//without sc FORMAT, natural sorting will not work;

FORMAT: text
TRIGGER: **BROWSE** (default; this is important, otherwise the functionality will be stale)
ITEM TYPE: files

then,

right click a column, pick ADD COLUMN, locate the 'RIGHT CLICK HERE...' newly added column,
choose 'Select Custom Column' and pick the column you named under the CAPTION field previously.
-wait a bit for it o process the list, especially if its a longer one.

Edited the script before it throws errors because of the missing indention...
-thanks!

Re: How to Set Custom Columns, mainly for Length Items Ordinance

Posted: 02 Oct 2025 08:53
by admin
Thanks for the guide!

Curious: Why do you need the length of filenames without path?

Re: How to Set Custom Columns, mainly for Length Items Ordinance

Posted: 07 Oct 2025 17:40
by Slideshow BoB
hey admin, glad it can be of help!

for auditing purposes, some patterns of files must be excluded from regular, man-made registration of processes. As they are commonly shown under a certain name length, this is the step 1 for determining which files will or will not be further scrutinized when a backtrack is needed. Think the screen-capturing made by CoPilot but we do it for almost 20 years now - without being creepers.

Re: How to Set Custom Columns, mainly for Length Items Ordinance

Posted: 07 Oct 2025 17:46
by admin
I'm asking because it would be easy to add a tweak so that the standard Len column returns the length without path.

Re: How to Set Custom Columns, mainly for Length Items Ordinance

Posted: 07 Oct 2025 20:38
by Slideshow BoB
admin wrote: 07 Oct 2025 17:46 I'm asking because it would be easy to add a tweak so that the standard Len column returns the length without path.
the sleekiest thing possible.

Re: How to Set Custom Columns, mainly for Length Items Ordinance

Posted: 08 Oct 2025 11:23
by admin
I agree. Next beta. :)

Re: How to Set Custom Columns, mainly for Length Items Ordinance

Posted: 08 Oct 2025 16:11
by Slideshow BoB
wowlly mowlly!

:party: