Photos: apply keyword to multiple selection
Photos: apply keyword to multiple selection
- Subject: Photos: apply keyword to multiple selection
- From: 2551phil <email@hidden>
- Date: Tue, 10 May 2016 22:12:04 +0700
Hmm, does anyone know how this might be done?
I see from the dictionary that ‘keywords’ are not r/o, and the wording (“to associate”) suggests they should be writable:
keywords (list of text) : A list of keywords to associate with a media item
However, I’m having difficulty figuring out the syntax. If I get my selection like this:
set myList to {} tell application id "com.apple.Photos" repeat with i from 1 to count of selection set end of myList to filename of item i of (get selection) end repeat end tell
What verb/command should I use to add a new keyword like “Wedding” to the keywords list of every item in the entire selection?
TIA
Best
Phil |
_______________________________________________
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