• 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
Select photos whose name is in list of names?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Select photos whose name is in list of names?


  • Subject: Select photos whose name is in list of names?
  • From: Dalmazio Brisinda <email@hidden>
  • Date: Tue, 23 Dec 2008 14:56:24 -0600

Hi everyone,

I'm having some problems getting iPhoto to select all photos in an album whose names are contained in a given list. Here's the script which I would have thought should work, but it comes back with the error:

iPhoto got an error: Can’t make {"Photo1", "Photo2", "Photo3", "Photo4"} into type reference.

—

set nameList to {"Photo1", "Photo2", "Photo3", "Photo4"}
set albumName to "My Album"

tell application "iPhoto"
activate
select (every photo in album albumName whose name is in nameList)
end tell

Any ideas how to make this work?

Best,
dalmazio


 _______________________________________________
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

  • Follow-Ups:
    • Re: Select photos whose name is in list of names?
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Phidgets and AppleScript
  • Next by Date: Using Applescript to Sync and Mount drives etc.
  • Previous by thread: Phidgets and AppleScript
  • Next by thread: Re: Select photos whose name is in list of names?
  • Index(es):
    • Date
    • Thread