How to check for and remove a photo from an iPhoto album
How to check for and remove a photo from an iPhoto album
- Subject: How to check for and remove a photo from an iPhoto album
- From: "Paul J. Lucas" <email@hidden>
- Date: Tue, 2 Jun 2009 20:50:50 -0700
I want to write an AppleScript to import a photo into an album. If a
photo with the same file-name already exists in the given album, I
want to remove the existing one first, then proceed with the import. I
tried:
if album "MyAlbum" contains "pic1.jpg" then
remove "pic1.jpg" from album "MyAlbum"
end if
but that doesn't compile. (I know how to do the actual import part.)
- Paul
_______________________________________________
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