|
How cam I get ExifTool to set my keywords to 'keywords' instead of '"keywords"' (without quotes) in the Photoshop Image info?
To set the keywords I'm using applescript and Exiftool in the following way:
I use applescript to have the user set keywords say "green, blue" as a list called origKeywords. I set the origKeywords to "'" & every item of origKeywords & "," & "'" (using applescript). Then I use "set thisFilePath to quoted form of (POSIX path of thisFile)" (applescript) and finally Exiftool
set cmd to "exiftool -keywords=" & origKeywords & " " & thisFilePath & ""
--display dialog cmd
set theResult to do shell script cmd
It works and my keywords are set to
green, blue,
when I view them using ExifTool. But when I look at the keywords in the Photoshop Image Info they are
"green, blue," with quotes. How can I get rid of the quotes? I'm using a Digital Asset Management application which will NOT read the keywords if they have quotes around them.
Thanks.
Pedro
|