Re: Scriplting the Photos application
Re: Scriplting the Photos application
- Subject: Re: Scriplting the Photos application
- From: 2551 <email@hidden>
- Date: Sun, 19 Apr 2015 23:29:18 +0700
Bill, borrowing a bit from Axel and a bit from Shane, this script works for me now to get the properties on a selection: tell application id "com.apple.Photos" repeat with i from 1 to count of selection properties of item i of (get selection) end repeat end tell
On 19 Apr 2015, at 22:19, Bill Cheeseman < email@hidden> wrote:
I am still unable to get any or all properties of the 'selection'.
Well, I'm now back to seeing the "handler failed" error again on some albums (e.g., last import or the highest level container called "Photos" that appears above the Albums list). Properties on the selection seem only to be reliably returned when the selection's containder ID is the "All Photos" album.
Best
Phil
DisplayDroid beta (a lightweight script editor and automation tool) is now available for free download. More info on sqwarq.com/displaydroid
|
_______________________________________________
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