Re: Removing iPhoto 08 Keywords with Applescript
Re: Removing iPhoto 08 Keywords with Applescript
- Subject: Re: Removing iPhoto 08 Keywords with Applescript
- From: "Mark J. Reed" <email@hidden>
- Date: Sat, 21 Mar 2009 09:04:25 -0400
On Sat, Mar 21, 2009 at 9:02 AM, Mark J. Reed <email@hidden> wrote:
> on setKeywords(someFile, keywordList)
> set text item delimiters to ","
> do shell script ¬
> "exiftool -s -s -s -sep , -keywords=" & (quoted form of (keywordList
> as text)) & " " & (quoted form of POSIX path of someFile)
> end setKeywords
Excessive copy/paste - you can take the "-s -s -s" off the command
line there, since it's output formatting which has no effect on the
"set" direction:
on setKeywords(someFile, keywordList)
set text item delimiters to ","
do shell script ¬
"exiftool -sep , -keywords=" & (quoted form of
(keywordList as text)) & " " & (quoted form of POSIX path of someFile)
end setKeywords
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden