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 crowding the space, I thought I would share this one because some features may interest others.
There is a full tutorial on my new page about Using File Names to Make a Database.
I’m really excited about this way of working with files and look forward to feedback and a fruitful discussion. Apart from direct feedback and brainstorming on this script, I am particularly interested in hearing your thoughts about using file naming conventions to manage metadata.
Can be used for any kind of column: space is clearly marked in the script to easily add NON-regex columns
Columns should autorefresh when the name or the file changes
Clear prefix facilitates column selection in the Folder Format pane without affecting display names
The column definition can be configured with a number of properties, all optional
See the tutorial about column definitions or this image.
- The simple data structure is directly addressable, eliminating the need for getters
Thanks to those who have answered questions at one time or another while I was playing with the scripts (tbone, Leo and Jon come to mind but I’m sure there are others).
RegexColumnsReloaded.js.txt (30.5 KB)
0.9.2 At tbone’s request, changed the column prefix from RegexReloaded_ to RegexReloaded.
0.9.1 Added three properties (got these ideas from Apocalypse): fileOnly, dirOnly, fullCupValue.