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

I have tested your script. At first, the last statement didn't work. But as soon as I had created a new “Photo Booth” album in iPhoto, it began to work as expected.
Did you check if “Photo Booth” was written exactly the same in iPhoto as in your script (with a normal space, for instance, not a non-breaking space)?

Similar Messages

  • How do i view photos in iPhoto trash before i empty trash?

    How do i view photos in iphoto trash before I empty it?

    Click on the trash icon in the iPhoto Window

  • Deleting photos from iphoto trash can

    I can not delete photos from iphoto trash can, I get a notice that they are locked.
    these photos were deleted along time ago from the hard drive.
    I was surprised to see them, where are they ? so I can delete them,I can't do it from the trash can.

    Try the following:download and run BatChmod on the iPhoto Library folder with the settings shown here, putting your administrator login name in the owner section and Staff in the group section. You can either type in the path to the folder or just drag the folder into that field. Then try emptying the trash bin again.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.
    ize. If it does

  • Deleting photos from iPhoto trash crashes iPhoto

    I've been a bit remiss in deleting photos from iPhoto trash and now when I attempt to delete the 6379 photos in there it crashes iPhoto.  I have tried the right click on the trash in the left menu bar and also the "iPhoto" > Empty Trash.  How can I get rid of these photos?

    This will happen if you try and delete that many shots from iphoto at one go. We generally recommend that you empty the trash in batches of 100 or so at a time.
    Regards
    TD

  • 3,000 plus photos in iphoto trash but won't delete

    We have around 3,000 odd photos in iphoto trash, but when you click on the tab, it just shows a empty screen, but also shows as said 3,ooo photos, and right clicking on it and trying to empty it does nothing!?
    question is are these photos in there or not? if so how do i get rid?
    thank you
    Marie

    iPhoto_Pref_and_Cache  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    If that brings the library back do not try deleting all of the photos at one time. iPhoto is notoriously finickey about deleting large numbers of photos at one time.  Create a new empty album, Shift+Command+N, and drag the photos into it.  Then in the album add a unique keyword to them. 
    After the keyword has been assigned select all of the photos in the trash bin and drag onto the iPhoto icon to return them back to their Events.  Then go to the album and and select about 100 at a time and type Command+Option+Delete to move them to the trash bin and empty the bin.
    OT

  • I have deleted photos from iPhoto trash but apparently still have 82GB of photos which I cannot see or delete - any help would be much appreciated

    I have deleted photos from iPhoto trash but apparently still have 82GB of photos which I cannot see or delete - any help would be much appreciated

    check the overall trash on the 'dock'.when files are deleted from programmes, they always go to the general 'Trash'  as general files and you will need to delete form there as well. if there is still a lot of missing files taking up space try reloading or deleting 'Iphoto' and uploading again.

  • IPhoto '09 version 8.1.2:  If I permanently delete the photos in IPhoto trash, will the same duplicate photos be deleted from the Events library?

    For IPhoto '09, version 8.1.2:  If I permanently delete the photos from the IPhoto trash, will any of the duplicate photos in the IPhoto library also be deleted?

    1. There are no duplicates in iPhoto unless you imported two or more copies of the same photo
    2. If you are useing the defaults in iPhoto and delete a photo from an event and empty the iPhoto trash and the system trash all versions of the photo will be gone
    LN

  • Incorrect photos in iPhoto trash

    Don’t know if this is the correct forum. I can’t find a specific forum for iPhoto 5.
    iPhoto 5 is being used for a particular library for compatibility with another user who is limited to this version of iPhoto (PPC, G5, OS 10.5).
    The problem is that the iPhoto trash contains numerous photos that should not be there. Most of the photos in the trash are actually duplicated in the main iPhoto Library and albums. Some of the photos in the trash are not in the Library but should be. I don’t know how this occurred. It was not done deliberately.
    This iPhoto library is being used as a container for photos used in a Final Cut Express project. When I did empty the iPhoto trash, FCE complained that certain files were offline, probably those that were in the trash but not in the top level of the Library. Fortunately, I have a current backup, but I am still back to “Square One”.
    How do I fix this problem of iPhoto trash containing incorrect photos so I can empty the trash without an adverse effect upon the FCE project using these photos?

    Hi Larry, thanks for the response.
    LarryHN wrote:
    In all versions of iPhoto it is critical that no changes of any sort be made to the structure or content of the iPhoto library using any program except iPhoto.
              Yes, I'm aware of that.
    Is there any chance that FCE was used to make any modifications to the iPhoto library?
             It is my belief that FCE does not interact with iPhoto. When dragging a photo from the iPhoto window to FCE, it simply creates a pointer to the location in the Finder where that photo resides. If something happens to that photo such as moving it or deleting it, FCE will complain with an "Offline" message. Possibly someone else could confirm that.
    In the iPhoto library is the preference to copy imported items to the iPhoto library checked?
            Not sure. I'll have to boot into OS 10.6 to check since iPhoto 5 won't run in Mountain Lion. I'll report on that later, but I don't think that will be an issue. I have been using this iPhoto library for more than a year, working on a large project.
    The general answer is to restore your backup, select the photos you want in FCE and export to a desktop folder for use by FCE (or any other program)
    LN
               This would be a monumental task, something I was trying to avoid. I have been using iPhoto libraries (and iMovie projects) as containers for FCE projects for more than a dozen videos and never had this problem before.
              There is something wrong with the iPhoto trash with this particular iPhoto library and I was hoping that someone might know what could have caused it and possibly suggested a fix.
         Ralph

  • Deleted photos from iPhoto trash & need to recover - help

    I deleted photos from iPhoto and the iPhoto Trash folder and need to get them back. Can anyone please help?

    they are in the system trash  if you have not emptied it - drag tehm from the system trash to the desktop and then import into iPhoto
    Or simply restore your backup from just before you deleted them
    LN

  • Unable to delete photos in iPhoto 2009

    I am trying to clean up my iPhoto Library and I am able to drag photos to the trash bin, but they are still in my library. What can I do to finally delete these photos?
    They appear in the trash bin, then I pemanently delete them from the trash bin, but they remain in my library?

    I am having two issues with iPhoto am ready to scream!
    Have you heard of anyone else having this problem? I bought iLife ’09 soon as it came out. So when I open iPhoto, it tells me I’m using “iPhoto ’09 v. 8.0 (393)”.
    Then I get a window telling me that the 8.0.2 update is available, but I click on “check for software update” and am told my software IS up to date (also when trying to download the update from Apple). What’s up with this?
    The other weird thing is this: I have 14,000 photos, many of which need to be deleted. But I can’t click/delete anything---rainbow ball spins forever till I force quit. Drag photo to iPhoto trash?---same dang thing happens. At first I thought it was just taking forever to find and delete the large event or the couple dozen photos I had selected, but the same thing happens even with a single photo. I've been fiddling with this and then ignoring it for months! Today I tried trashing the prefs, but when I relaunched iPhoto I HAD NOTHING: no photos at all. I dragged the prefs out of the trashed and replaced it for the newer prefs and all the photos were there again. Of course, so was the problem.
    Never had any kind of problems with iPhoto until this change to '09. Driving me nuts!
    Don't know how much of this info is helpful, but this is happening on: (and I have over 8G of space left)
    Model Name: Power Mac G5 (w/OS X (10.5.6)
    Model Identifier: PowerMac7,2
    Processor Name: PowerPC 970 (2.2)
    Processor Speed: 1.8 GHz
    Number Of CPUs: 2
    L2 Cache (per CPU): 512 KB
    Memory: 2.5 GB
    Bus Speed: 900 MHz
    Boot ROM Version: 5.1.5f0
    Thanks. Geez, I hope you can tell me something easy to do that I can understand!

  • Photo booth troubles

    Alright so last night I had to re-install Photo booth, iphoto and idvd because they were missing. Now photobooth is being a pain in my butt! My isight is working because the green light is on and when I start photo booth I can see myself; It also works in ichat. The problem is that when i take a picture it doesnt post it up...it doesnt even show the picture that was taken. NOTHING happens. It just counts down and the screen flashes and then nothing. The picture isnt even in the photobooth folder. I deleted the preferences for it and restarted my computer and i even re-installed it again! What should I do now? OH and for some reason it doesnt have the same categories of pictures like it did before. It has Colorful ones, then the fun ones in normal color but it is missing the new ones with the fun backrounds.
    -Note: I do have leopard.

    Hello Katie_lusher
    You have not responded to Defcom's suggestion, so perhaps you are waiting for some other suggestions?
    Next, you should try all suggestions relevant to your system from Apple's How to Troubleshoot iSight.
    If your iSight works with other apps during this troubleshooting but fails with Photo Booth (PB) in every user account you test, something may have gone wrong with your recent reinstall. Try the reinstall it again. Perhaps you want to try a different reinstall method? See this post for some alternatives:
      http://discussions.apple.com/thread.jspa?messageID=6520690&#6520690
    If your iSight doesn't work correctly with ANY app in ANY user account after applying all the troubleshooting suggestions, you may need to reinstall your OS.
    Please let us know how it goes.
    Cheers,
    EZ Jim
    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.2)  External iSight

  • HT5043 My daughter was taking pictures in photo booth and now all of our photos from the iphoto library appear to be missing.  Any ideas how to recover them?

    Does anyone know how to recover or view pictures after importing photos from photo booth?  My daughter said that she was asked if she wanted to start a "new card".  Is this term familiar to anyone.  So sad to lose all our photos....

    Sorry - what exactly was done? iPhoto and PhotoBooth have no relation to each other -
    If she deleted the iPhoto libreary in error then take it out of the trash and put it back in the pictures folder - if the trash has been emptied then restore your backup of the iPhoto lbiarary - that is what backups are for - to protect against mistakes and failures
    LN

  • I recently upgraded to Yosemite on MacBook Pro - unable to open iPhoto and Photo Booth

    I recently upgraded to OS X Yosemite 10.10.2 on my MacBook Pro (bought in 2011).  Since the Yosemite upgrade, I have been unable to open both iPhoto and Photo Booth at all.  I have lots of photos and need to access them. Both icons of iPhoto and Photo Booth have a circle with a bar across them, in my dock.
    When I click on iPhoto I get the message " In order to open “iPhoto”, you need to update to the latest version. The version of iPhoto installed on this Mac is not compatible with OS X Yosemite. Download the latest version for free from the Mac App Store".  I have tried upgrading iPhoto on the App store but get an error message "The item you've requested is not currently available in the U.S. store" .
    Since I cannot even view my photos, I cannot store them elsewhere.  Please, can someone help me resolve this problem!!!
    For Photo Booth, when I click on it, it says "You can’t use this version of the application “Photo Booth” with this version of OS X. You have Photo Booth 3.0.3" - gives me no option to upgrade at all.
    Would appreciate help for both iPhoto and Photo Booth issues described above, with iPhoto being the most pressing concern. Thank You.

    The new app is called Photos. It's icon was added to the Dock. Both, Photos and iPhoto, are located in your Applications folder.
    If you need to upgrade iPhoto, follow these instructions prepared by Barney-15E: https://discussions.apple.com/docs/DOC-8431

  • Okay so I have a Seagate Backup Plus Drive External Hard Drive and I'm trying to get it to backup Applications and stuff on the dock such as iPhoto, and Photo Booth.

    It's one of these External Hard Drives. I go to the Finder folder and go to the "Seagate Backup Plus Drive" to see what's in there and what I assume is that backups but the only thing that seems to be in there is folders from everything that is Desktop and a few Documents. The Applications folder seems to be empty and there are no folders for Photo Booth or iPhoto. Everything from GarageBand and iTunes seems to have been backed up according to the Seagate Backup folder when it is plugged in and opened. How do I get this thing to backup everything from Photo Booth and iPhoto? And by the way, I can't seem to access Time Machine the way you get it to where you can go back in time and see all of your stuff from previous dates. I don't know if this is important or a crucial part but I seem to not be able to access the actual time Machine Layout.

    Simple on that one - Download Carbon Copy and follow the steps below:
    if you have access to an external USB enclosure use it, or you can buy one for $10...
    install your new ssd in the usb enclosure - connect to your macbook...
    open disk utility and format/erase your ssd - mac os extended journaled.
    open carbon copy - clone your drive with it - source (your old drive) + destination (your ssd).
    once the clone is done, turn your macbook off - take old hard drive out - install new ssd in....
    turn your macbook on - if boot time is more than 40 secs to desktop - go to system preferences - startup disk and select your new ssd as the startup disk - restart your macbook - should be about 14 sec boot time now.
    install your old hard drive in your usb external enclosure and use it as a backup drive.
    good luck

  • I deleted unwanted photos from my iPhoto library, emptied iPhoto trash & Finder trash... this did not free up disk space. please help!

    I deleted unwanted photos from my iPhoto library, emptied iPhoto trash & Finder trash... this did not free up disk space. please help!
    I have a 15-inch MacBook Pro (Late 2011) with OS X Mavericks 10.9.5
    Last week, my 500 GB Harddrive had 120 GB free space. I was feeling crumby and decided to make productive use of taking a day off to lounge around. I snuggled up with my laptop and dedicated hours to meticulously combing through my iPhoto Library. I had 13,000 pictures, and I got rid of those I didn't want. Having said "sayōnara" to about 6,500 pictures, I then emptied the iPhoto trash and the Finder trash. I took delight in the iconic paper crumpling sound of them vanishing into the digital void.
    Everything seemed perfect: the photos I loved were still there, the photos I loathed were gone, both trashes were beautifully empty. Having thrown away all of those awful, boring, and unflattering images of poorly light lunches and selfies gone wrong, my iPhoto library was half the size as before! I felt renewed, a little lighter, somehow more free, and I expected my hard drive to be a bit different to.
    I eagerly checked my storage stats. My heart sank to see that my 120 GB of free space, was still only 120 GB of free space. I restarted my MacBook; this did not help. I restarted it the next day; this also did not help. It's been 5 days and the hard drive still has 120 GB free space. This is not an emergency and it will probably be a good while before I clutter my laptop to the brim. Yet while I am glad I don't have to see cringeworthy pictures of my ex's unmentionables every time I'm showing off things I do want to remember, I'm still disappointed and now obsessed with solving this mystery.
    What is going on? I don't see them, so where are they hiding? How do I get the free space I should have earned from throwing away 1,000's of photos?!

    Thank you, Terence!
    Yes, I only emptied the trash when it was really full, once I waited until the trash cans contained 2,600 photos and then I emptied them - Oooops! In the future, I'll keep in mind your suggestion of deleting less than 100 photos at a time.
    I downloaded the iPhoto Library Manager and used it to rebuild my iPhoto. After a few hours of rebuilding, it generated a new copy of my iPhoto Library. This versions was nearly identical to the original (it was missing 5 photos and was therefore only 5 mb smaller). I guess my Library wasn't defective.
    I checked my storage stats, and interestingly, using iPhoto Library Manager did help with the problem that developed after I re-indexed my hard drive. My hard drive is able to properly recognize data categories again, instead of listing almost everything as "Other". Understandably, my free disk space changed from 120 GB to about 60 GB, because my hard drive now contained a second copy of my iPhoto Library as well as iPhoto Library Manager. It seemed like all I needed to do was throw these away, but when I emptied the trash, my problem was not solved. My Hard drive now looked like this:
    It appears to me that when I empty the trash, the things I throw away are just hanging around as backups instead of leaving! I went into System Preferences and turned of my time machine OFF. Now my hard drive looks likes this:
    The back ups of the iPhoto files, and the program which I deleted, are still on my hard drive some where but now they are listed as "Other" instead of "Backups". Do you know where they might be and how I can delete them for good?

Maybe you are looking for