• 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
removing a photo from "events album" removes the whole album!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

removing a photo from "events album" removes the whole album!


  • Subject: removing a photo from "events album" removes the whole album!
  • From: Tor Langballe <email@hidden>
  • Date: Fri, 17 Jul 2009 05:20:04 +0200

I'm trying to remove a photo that's in an event in the events album:
---------------------------------
on deletephoto(sid)
	tell application "iPhoto"
		set nid to sid as number
		set p to first photo of events album where id is nid
		tell events album
			remove p
		end tell
	end tell
end deletephoto
---------------------------------

Amazingly, the whole album is moved into the trash album if I do this.

the "tell events album" bit isn't needed, but I tried it just in case.

Anybody know what's going on? Or should I file a serious bug?

Regards,

Tor Langballe




_______________________________________________ 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: Re: open for access file
  • Next by Date: Re: open for access file
  • Previous by thread: Re: AppleScript-Users Digest, Vol 6, Issue 324
  • Next by thread: Re: removing a photo from "events album" removes the whole album!
  • Index(es):
    • Date
    • Thread