I often use structured keywords to either rename my images or to add to another IPTC field using Exiftool's very powerful functions which include the ability to use regex functionality.
Would it be possible to have an option to call exiftool for the selected images?
As an alternate, could you provide a way of testing if an IPTC field has a value or is empty.
As an example, I want to rename my file by stringing the two fields together with an underscore between them. The issue I have is if the first field is empty then I don't want to insert the underscore.
{headline}_{filenamebase} -> Headline_IMG_1234.jpg if {headline} has value Headline
{headline}_{filenamebase} -> _IMG_1234.jpg if {headline} is empty but I would like IMG_1234.jpg
So, a special variable could be something like this:
{IF:{variable}, string to use if {variable} is not empty, string to use if {variable} is empty (optional)}
Note: the third argument is optional for when {variable} is empty.
As an example from above when {headline} is empty:
{IF:{headline},{headline}_}{filenamebase} -> IMG_1234.jpg
or
{IF:{headline},{headline}_,NULL-}{filenamebase} -> NULL-IMG_1234.jpg