Hello Heiner
Thanks, please not, I am not a very good scripter, really not.
Yes, hmm, Mario is correct.
I have not seen this.
In the helpfile is replace and remove not for repeatable tags.
This means, we cannot take remove or replace for the keywords.
Add works, this is also mentioned in the helpfile.
And this is, I guess, what Mario means above, that repeatable tags are different.
If I read the helpfile correct, then you could use Set. In the help:
Sets a new value. This method is to be used for tags which can have only one value. If this method is used for a repeatable tag, all existing values are removed and the new value set by this method is added.Maybe this helps you not, I am not sure.
At the moment I do not know, how we can replace a keyword with another by a script.
I am quite sure, for a real scripter this would be doable. But not for me very easy.
For what must you have this?
I guess, you cannot select simply some files and do this replace-stuff "by hand" with the keyword-panel?
Must you do this often?
Hmmm, if we cannot do this directly with replace or remove/add, then one possibilty could be (I am not sure) to read the keys out as a string and then replace it by string-replacings and write it back.
But, I hope, you find a solution or another scripter can give you a hint.
Sorry, that I cannot help you more and that I misleaded you with replace.
