Tag-Tag will build a new tag by combining tags and functions, but there is no easy way to deconstruct a tag into other tags.
I want to take the contents of a tag and parcel it out into other tags, exactly as Filename-Tag parcels out the file name into tags.
Today, you need to write a script, often complex, to get this effect. Here's an example of such a script. Later in the thread, a hieroglyphic regular expression is suggested as an alternative. We can avoid both.
Neither would be necessary with a new dialog box incorporating "guess value".
1st dialog field: The Format String (second) entry from the existing tag-tag box.An extension to the idea isMinimum requirement a field name. Optionally, multiple tags, scripting functions, etc. to build a string.2nd dialog field: Pattern for "guess values" function to be applied to string (or tag) from the 1st field.(I assume this is same as the Format String entry from the existing filename-tag box.)
1) 3rd dialog field, which is optional and just the 2nd dialog field repeated, and
2) use temporary field names $1, $2, ...This would let the subject string (or simple tag value) from the 1st field be parsed into temporary holding fields (as well as actual tags) and the temporary holding fields recombined into additional tags. The temporary holding fields wouldn't have to be cleaned up as when this strategy is implemented in an action script.
Hopefully is this basically a new dialog and reuse of existing code; both very straight forward and easy to cobble up.