Is there a guide to syntax in custom columns?
I got some help from milo1012 and realized that the syntax is very flexible. Also the editor is well written and allows for experimentation. Is it based on PHP? If so, it could be quite complex.
Custom column syntax
Moderators: Hacker, petermad, Stefan2, white
The syntax is basically identical in all situations where you can use content plugins, including the built-in TC plugin.
But unfortunately it seems to be explained only in the help file at the topic: Dialog box - Multi-rename tool
I think it was already noted that it should be included in the next version,
but again to the author: please include a reference to that syntax in the manual for all parts that can possibly use it!
- Custom columns
- Multi-rename tool (MRT)
- User-defined help texts (Configuration → Display → Help texts → User-defined)
- Thumbnail view (Configuration → Thumbnails → Thumbnails:general)
- Change file attributes
But unfortunately it seems to be explained only in the help file at the topic: Dialog box - Multi-rename tool
Code: Select all
[=pluginname.fieldname.unit]
Insert field named "fieldname" from content plugin named "pluginname". "unit" may be an optional unit (if supported by that field), or a field formatter like YMD for date fields. You can use the [=?] Plugin button to insert plugin fields.
[=pluginname.fieldname.unit:4-7]
Same as above, but for partial strings (here: letters 4-7).
Supports the same ranges as the [N] field (see above), including leading spaces or zeroes.
but again to the author: please include a reference to that syntax in the manual for all parts that can possibly use it!
TC plugins: PCREsearch and RegXtract
Thanks again, milo1012.
The detailed topic in help under Dialog box - Multi-rename tool contains the syntax that I was looking for, though it takes some looking to find it. I agree that the other topics that you mentioned deserve their own help along the same lines.
I made a pdf of the help topic and will return it if anyone emails me. More convenient and easier to read than the help window -- and you can't use TC while Help is open.
The detailed topic in help under Dialog box - Multi-rename tool contains the syntax that I was looking for, though it takes some looking to find it. I agree that the other topics that you mentioned deserve their own help along the same lines.
I made a pdf of the help topic and will return it if anyone emails me. More convenient and easier to read than the help window -- and you can't use TC while Help is open.