Re: How to select some photos from iPhoto through script?
Re: How to select some photos from iPhoto through script?
- Subject: Re: How to select some photos from iPhoto through script?
- From: Vince Angeloni <email@hidden>
- Date: Sat, 15 Mar 2008 09:51:48 -0500
Hi all,
I was to select selective photos (whose names I know) from album of iPhoto. I know that we can select all photos of album using following script:
tell application "iPhoto" select every photo of album "Myalbum" end tell
But my requirement is to select some photos (& not all photos) of album using script. How to do it?
Thanks, Palav
Try some things like this:
tell application "iPhoto" set byheight to every photo whose height < 350 set bywidth to every photo whose height > 640 set byName to every photo whose name contains "shadow" set byDate to every photo whose date < (current date) set everyPhoto to every photo of current album set byComment to every photo of current album whose comment contains "globe" set bypath to every photo whose image path contains "test" set withAlbum to every photo of album 2 end tell
hth, vince |
_______________________________________________
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