I would like to be able to set a couple of tags in JPG files (ImageDescription, Location) with some text plus the last four characters (sequence number) of the file name in batch mode.
Is there some variable that can be put in the variable column that will return the last 4 characters of the filename the way it can be used in creating an export file?
I don't use the GUI, so I can't really help with a solution there, but on the command line you could use ${Filename;s/.*(.{4})\..*/$1/} to grab the last 4 characters, dropping the extension, which I assume you want to do.
Thanks.
Unfortunately it doesn't work through the GUI. I get a tag filled in with the expression instead of the results of the expression.