Re: iPhoto album scripting
Re: iPhoto album scripting
- Subject: Re: iPhoto album scripting
- From: "Stockly, Ed" <email@hidden>
- Date: Tue, 16 Oct 2007 12:08:05 -0700
- Thread-topic: iPhoto album scripting
>
> tell application "iPhoto"
> set this_album to get selection
> end tell
>
> which produces
> {album id 4.294968078E+9 of application "iPhoto"}
I think if you were to follow that with this command:
class of this_album
You'd get "list"
So, try this:
tell application "iPhoto"
set this_album to get selection
set this_album to item 1 of this_album
set num_of_photos to count photos in this_album
end tell
Hth,
ES
_______________________________________________
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