Re: AppleScript-Users Digest, Vol 4, Issue 504
Re: AppleScript-Users Digest, Vol 4, Issue 504
- Subject: Re: AppleScript-Users Digest, Vol 4, Issue 504
- From: nick weldin <email@hidden>
- Date: Wed, 17 Oct 2007 09:01:51 +0100
That does exactly what I wanted -thanks
Nick
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