Re: Keywords in Aperture
Re: Keywords in Aperture
- Subject: Re: Keywords in Aperture
- From: Martin Orpen <email@hidden>
- Date: Fri, 1 Aug 2008 22:13:25 +0100
On 1 Aug 2008, at 20:36, Jan Erik Moström wrote:
Does anyone have some suggestions for how I should do to add a
predefined keyword to a photo (and remove an existing one)?
To get the keywords:
tell application "Aperture"
every keyword of item 1 of (get selection)
end tell
To add a keyword -- or, in this case, a whole hierarchy of keywords:
tell application "Aperture"
set foo to item 1 of (get selection)
tell foo
make new keyword with properties {name:"myKeyword",
parents:"AppleScript Code Example"}
end tell
end tell
Regards
--
Martin Orpen
Idea Digital Imaging Ltd
_______________________________________________
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