I am extracting the comments from image files using the usercomment metadata property. It works fine.
The problem comes when I try to write the data back to the image metadata using:
ClickData.Func.Command.AddLine("SetAttr META ""usercomment:" & mynewcomment & """")
mynewcomment is the variable containing the new value I wish to write (I have checked and it does contain the new data). However, for some reason the new data is not written to the image metadata.
Anyone any ideas?
(Obviously I have a command later in the script to run the AddLine commands, of which there are around ten - all of which work except the “usercomment”)