• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to select some photos from iPhoto through script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: 10.4.9 versus 10.4.10
  • Next by Date: Search/replace
  • Previous by thread: How to select some photos from iPhoto through script?
  • Next by thread: 10.4.9 versus 10.4.10
  • Index(es):
    • Date
    • Thread