removing a photo from "events album" removes the whole album!
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