ms310
May 6, 2020, 10:15am
1
I’d like to know if there is a way to create a custom name column that removes a number of characters from the middle the file names.
Leo
May 6, 2020, 10:40am
2
One of the Regular Expressions column scripts will let you do that.
e.g. This one has a nice UI for setting up the columns:
This script adds support for creating custom columns using regexp against the file name and path. The columns are configured using a dialog, with all Dopus column types and custom column settings being supported.
Example output
The first column are …
This one has a long tutorial written about it:
There have been several regex column scripts in the past year.
I was first wow'ed by this feature when I came across wowbagger's script. Since then, I have been experimenting with columns and writing several scripts to suit my needs. At the risk of …
A third option (may also have a config UI; I'm not sure):
Overview
This is a new Version of my RegExColumns Script using the multi line script config for the RegExColumns Definition. There is no need to edit the actual script anymore.
Installation
Open Preferences / Toolbars / Scripts, then download Reg…
ms310
May 6, 2020, 11:36am
3
Thanks. These look promising. I was hoping to preserve the ICON - it looks like these are great solutions for re-purposing the text of existing columns, which is very cool. I was hoping to apply a regex to the built in Name column to remove some number of middle characters. Thanks for pointing me in this direction.
Leo
May 6, 2020, 11:39am
4
The actual name column can't be changed, other than optionally removing the file extension from it.
(At least without writing a VFS Plugin, which would be very complicated.)