• 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: Scriplting the Photos application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scriplting the Photos application


  • Subject: Re: Scriplting the Photos application
  • From: Bill Cheeseman <email@hidden>
  • Date: Sun, 19 Apr 2015 06:11:00 -0400


On Apr 18, 2015, at 7:13 PM, Shane Stanley <email@hidden> wrote:

This works fine here:

tell application id "com.apple.Photos" -- Photos
set theSelection to selection
repeat with i from 1 to count of theSelection
properties of item i of theSelection
end repeat
end tell

It does not work for me. I get a "Script Error" alert saying "Photos got an error: AppleEvent handler failed" -- on two separate computers, both running OS X 10.10.3 (with the supplemental update). I'll try rebooting later today, but the fact that it's happening on two computers suggests that won't help. I wonder what it could be.

-- 

Bill Cheeseman - email@hidden

 _______________________________________________
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: Scriplting the Photos application
      • From: Shane Stanley <email@hidden>
    • Re: Scriplting the Photos application
      • From: Axel Luttgens <email@hidden>
    • Re: Scriplting the Photos application
      • From: 2551 <email@hidden>
References: 
 >Scriplting the Photos application (From: Bill Cheeseman <email@hidden>)
 >Re: Scriplting the Photos application (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Scripting Terminal ?
  • Next by Date: Re: Scriplting the Photos application
  • Previous by thread: Re: Scriplting the Photos application
  • Next by thread: Re: Scriplting the Photos application
  • Index(es):
    • Date
    • Thread