• 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
iPhoto trash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhoto trash


  • Subject: iPhoto trash
  • From: "R. Nelson Byrne" <email@hidden>
  • Date: Tue, 12 Jul 2011 14:37:09 -0700



Dear list,

I'd like a list of the names of the photos in iPhoto's trash. I can't even get an ID, much less a name. The code:

tell application "iPhoto"
tell trash album
get photos returning trashlist
repeat with foto in trashlist
get id of foto
end repeat
end tell
end tell

The replies:

tell application "iPhoto"
tell trash album
get photos returning trashlist
repeat with foto in trashlist
get id of foto
end repeat
end tell
end tell

Hardware Overview:

  Model Name: iMac
  Model Identifier: iMac12,1
  Processor Name: Intel Core i7
  Processor Speed: 2.8 GHz

System Software Overview:

  System Version: Mac OS X 10.6.8 (10K540)
  Kernel Version: Darwin 10.8.0
  Boot Volume: iMac i7 HD
  Boot Mode: Normal


Any hints?

Thanks,

Nelson


 _______________________________________________
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: iPhoto trash
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Google Chrome: Set variable to result of JavaScript
  • Next by Date: Another way to set the width of the Name column
  • Previous by thread: Re: a.out changed
  • Next by thread: Re: iPhoto trash
  • Index(es):
    • Date
    • Thread