Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Photo Booth > iPhoto > Trash

I found a script, and have been trying to modify it to suit my needs. Basically, it should detect when a photo is taken in Photo Booth, import it to iPhoto, tag it, then delete the original from the Photo Booth folder. Everything is working swimmingly, except the last part - the files don't delete automagically. Does anybody know what's going on here?

on adding folder items to this_folder after receiving added_items
tell application "iPhoto"
import from added_items
repeat while (importing)
delay 0.5 -- wait 1/2 second and try again
end repeat
tell (the first album whose name is "Last roll") to select photos
assign keyword string "Photo Booth"
select (the first album whose name is "Photo Booth")
end tell

*tell application "Finder" to delete added_items*

end adding folder items to

27" iMac i7 / 4GB / 2TB / HD4850, Mac OS X (10.6.2), iPhone 3G

Posted on Feb 1, 2010 8:39 PM

Reply
1 reply

Photo Booth > iPhoto > Trash

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.