Grey
November 10, 2022, 8:30pm
1
I'd like to create an action that would add specific text to the beginning of the comment field and leave whatever is already there.
For example. If the field already said, "Vinyl". I'd like it changed to "NMR, Vinyl".
Bonus if it could skip the comma when the field is empty, but I'm doubtful that's possible.
Can any of this be done?
See the FAQs:
How to append the string " xyz" to the content of a tag field?
Create a new action in an existing action group and choose Format value as action type.
Field specifies the tag field the formatting rule should be applied to.
Format string must have the field placeholder for the field selected above and the string which should be appended.
Example:
If you want to append the string " xyz" to the current value of the comment field:
Action type: Format value
Field: COMMENT
Format string: %com…
And to limit the files to those that really need treatment, use a filter:
%comment% HAS Vinyl
Grey
November 11, 2022, 1:53am
3
Thank you. This works.
I'll have to solve the comma issue by doing this in two steps. This method for files that already have comments, then another to tag the ones that are blank.
poster
November 11, 2022, 5:47am
4
Use this format string:
[NMR, %comment%]
The square brackets are responsable for only writing the format string if the placeholder has content.
1 Like
Nice idea, @poster .
If you use
NMR[, %comment%]
then you keep the existing contents of comment with an added comma but insert NMR every time in just one go
Grey
November 11, 2022, 5:16pm
6
Nice. Thank you.
Now I can tag them all at once.
system
Closed
December 11, 2022, 5:16pm
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.