IPhoto Choose Photo AppleScript

There has to be a simple answer to this question, but I can't find it anywhere.
When writing AppleScripts for the Finder, there is a "choose file" command which opens a file select dialog.
I'm trying to write a script for iPhoto, but I can't find an equivalent command to open the iPhoto photo select dialog. Is there one?
Thanks in advance for your help!

I knew it would be a simple answer!
I'm working on an export script for iPhoto that will eventually do a bunch of things, but at this stage I'm just playing around with manipulating some of the data like titles, comments etc., and I was just trying to make it all work from within AppleScript.
I also tried Automator, trying to pass the selected photos from the "Ask For Photos" dialog to an AppleScript. I tried creating an application that does nothing but "Ask For Photos" and then using that in a script, too. In both cases, the script refused to manipulate (or even just display) any of the titles, comments, dates or anything else from the chosen photos.
Everything I've tried to do with photos I've manually selected in iPhoto has worked, so I'll just have to do it that way. It's no big deal, I just wanted to see if I could do it this other way.
Thanks for your quick answer!

Similar Messages

  • Suggestion to iPhoto choosing photo enhancement

    In my normal flow to use iPhoto:
    import photo from camera
    choose photo and delete blur, duplicate and blinking eye
    rename event
    share to facebook
    I found the most slow part is choosing photo. iPhoto can open a photo in full screen and just press right arrow to next photo, but it is notifiable slow if press left arrow to previous photo. and it cannot place two photo side by side compare.
    I suggest iPhoto should have ability to help us compare similar photo and delete undesire one quickly.
    Leung

    iPhoto menu -> Provide iPhoto Feedback is the route to the developers.
    That said, Select two photos and click on the Edit button. What happens?

  • HT204478 When syncing in ITUNES (IMAC) it will asked whether to use IPHOTO or PHOTOS. If I choose PHOTOS it says that PHOTOS is not ready to come back later. I have tried this several times. It will only sync to IPHONE. Am I missing something.?

    When syncing in ITUNES (IMAC) it will asked whether to use IPHOTO or PHOTOS. If I choose PHOTOS it says that PHOTOS is not ready to come back later. I have tried this several times. It will only sync to IPHONE. Am I missing something.?

    Try designating a System Photo Library. Then your apps will use that.
    Designate a System Photo Library in Photos - Apple Support

  • I have a desktop OS X 10.9.5.  I once was able to make an album in iPhoto my screensaver, now I cannot.  When I go to System Preferences Screensaver and attempt to choose photos my IPhotos do not come up as they once did. mjcjane

    I have a desktop OS X 10.9.5.  I once was able to make an album in iPhoto my screensaver, now I cannot.  When I go to System Preferences >Screensaver and attempt to choose photos my IPhotos do not come up as they once did.
    mjcjane

    Are you getting the Source dropdown?

  • When my photos were moved from iPhoto to Photos in the last system upgrade, they lost all their titles. How can I restore them?

    In the latest Yosemite upgrade, my photos were migrated from iPhotos to Photos and lost all their titles. How can I restore them?

    There is an Applescript, File Name to Title,  provided by user léonie that will put the file name of any selected photos into the Title field for that photo.  If there already is a title in that field under the thumbnail it will not replace it with the file name. 
    tell application "Photos"
      activate
      set imageSel to (get selection) -- get a list of selected images
      set counter to 1
      set currentfilename to ""
      if imageSel is {} then
      error "Please select an image."
      else
      repeat with im in imageSel
      set title to the name of im
      if not (exists (title)) then
      set currentfilename to the filename of im as text -- retrieve the filename of image "Im"
      set newname to currentfilename & "." & counter
      set counter to counter + 1 -- increment the counter
      set the name of im to newname -- write the newname to the title field
      end if
      end repeat
      end if
      return currentfilename -- return the filename of the last image
    end tell
    Copy the script above, open Applescript Editor and past it into the open window.  Compile and save as an Applescript application.  Put the app in the Applications folder and drag into the Dock. Now you can select images in Photos and launch the app from the Dock and it will do it's thing.  It is a bit slow so can take some time for a large number of images depending on the speed of your Mac.
    Just to be on the safe side create an album with a few titled and untitled photos and run it on them.

  • IPhoto vs Photos in iOS 8

    I am trying to regain some storage on my 16Gig iPad Mini.
    I have many pictures in photos I want to delete. However, when I choose "select" and choose photos to delete, the "trash can" is greyed out. I can't figure out how to get rid of these old photos that I have backed up on my computer.
    I thought, "Maybe I can delete them in iPhoto?" However, when I tried to open iPhoto, I get the message, "iPhoto is no longer supported in iOS 8. Migrate photos to 'Photos?'"
    Should I "migrate" my iPhoto photos to "Photos?" Will I be able to delete them?

    If you want to be able to access the photos from iPhoto, migrate. iPhoto is now obsolete and you cannot use it any longer.
    But read this first:  Migrating from iPhoto for iOS to Photos on iOS 8
    And also:  Get help finding your Photos in iOS 8
    A common reason for being unable to delete photos from your iPhone might be, that the photos have been synced to the device using iTunes. To remove synced photos from iOS devices, simply san again with iTunes, but deselect all events and albums in iPhoto, see this link:
    iOS: Syncing photos using iTunes

  • Apple tv can't find my photos since I switched from iPhoto to Photos

    I recently switched from iPhoto to Photos on my imac which is running Yosemite 10.10.6. and since then my Apple TV version 2 can't find my photos.  Also, the taskbar on Photos is nothing like they show in the description.

    Have you changed your Home sharing settings in iTunes from iPhoto to Photos (iTunes > File > Home Sharing > Choose Photos...)

  • IPhoto to Photos problems

    I have used Rapidweaver for five years without problem until I upgraded iPhoto to Photos.  On correcting a typing error on a page I re-published and got a "Photo Export Errors" message- error exporting image thumbnail (20 times!!).  The published page is scrambled.  Help!  Any ideas???!!!

    Thanks again TD
    I will check on the formating when I get home, I am pretty sure that I haven't used any no-ascii characters, but will double check.
    Before I download iphoto library manager, I just wanted to report an interesting experiment that I tried last night that may point in a different direction:
    I keep my iphoto library on a second internal HD, so I thought I would just try making a complete copy of my iphoto library onto my desktop. Once I did this, I started up iPhoto with alt and choose the desktop version of the library and all worked perfectly, my iphoto albums showed instantly in my photo tab in itunes when I selected to sync with iphoto.
    My next move was to rename my old library and then copy my desktop version into the folder where the old library is. Once I did this the problem was back again.
    I have no reason to believe that it is the second disc that is causing the problem, as that is where I have always kept my itunes and iphoto libraries and they have worked without problem.
    (As I am writing this, it dawned upon me that I missed one important test, I should have tried the old library after I had renamed it, but stil in the same place.)
    I am now suspecting that the problem may be linked to an external drive that I addded to the system at Christmas. This was a WD My Book which I use for backup, the link being that I use the software that came with it to do autobackups that includes my iphoto library folder. I am wondering if this software does something to the folder.
    Thoughts welcome.
    Duff

  • Where and how does iPhoto keep photos?

    I am in the process of scanning and editing about 1000 old Kodakchrome slides taken over the past 40+ years.
    My scans go into Photoshop Elements for tarting up and then are stored in various folders with appropriate names. After that I import them into iPhoto 5 in order to assemble them into albums, slides shows or whatever.
    Questions: 1. Does iPhoto actually import and keep a copy of each image file? 2. Can I safely delete the folders I have used for the original and processed scans? 3. If I back-up the iPhotolibraries to an external hard drive, I am safe - I won't lose my pictures?
    I am sure that these basic questions have been answered by various Mac gurus a zillion times before but I found it pretty daunting to read through the 20+ pages shown in discussions. One has to admit the contents of the iPhoto folders and files is all pretty mysterious!
    Any help or direction will be most gratefully received.
    David Amies

    Hi David,
    A little more info for you...
    --First thing to know and remember is this...Do not drag any images, folder of images into the iPhoto Library in the Finder. Images have to be imported into iPhoto within the application. Do not scan images and save them into the iPhoto Library folder in the Finder. Save them to another location such as the Pictures folder or even the desktop. You can then import them into iPhoto.
    --You have a folder of images on your hard drive and want to import them into iPhoto. Drag the folder of images into an open iPhoto Library window and the folder of photos will be copied into the library, resulting in a new roll with the name of the folder. You now have two copies of those photos, the ones in iPhoto's database and the ones on your desktop. You can keep the ones on your desktop that you just imported as backup or you can delete that folder.
    -- you scan a picture/pictures and save it in a folder. You cannot scan directly into iPhoto or the iPhoto Library folder in the Finder.
    You want all your photos in iPhoto so you import them into iPhoto.
    Now you have two copies of that picture/pictures, so you can delete the originals that were in the scanned folder and keep the one/ones that were imported into iPhoto.
    -- You download pictures from your camera into iPhoto.
    There is now one copy of each of the pictures.
    You want to change something about a picture you imported, such as
    cropping it or changing the size, or changing the orientation.
    Once you do that to a picture, you now have two copies of the picture
    in iPhoto, the original and the edited one. The edited one will be in the library organize view. The original is packed away in an Original folder in your iPhoto Library folder under the date of the roll. You can always revert to the original by control clicking on the photo and choose "revert to orginal" You will not have this choice if you used iPhoto Diet to get rid of the Originals.
    (a quick note on cropping within iPhoto...when you are in edit mode, you automatically will be in the crop mode with cross hairs to highlight the crop area. To finish cropping you must click the crop button and then go back to library view and your cropped picture will be there.
    3.You want to use Photoshop or another graphic program to edit a picture in your iPhoto library.
    You can open up prefs for iPhoto and choose "when double clicking on
    photo ..do" choose "other" and select Photoshop. Now you can edit all
    pictures in your iPhoto library in PhotoShop by double clicking. If you save the photo with the same name and as a flattened file it will be saved right into iPhoto and you will see the changes. If you don't want to save it into iPhoto then do a "save as" and save to the desktop. You will then have the original photo still in iPhoto and your new edited photo on the desktop.
    Or, with iPhoto open, you can drag a picture from the library window
    to your desktop (you see a + sign on the pic you are dragging). You now
    have two of the same picture, one in the iPhoto library and one on your desktop. You can open up the one on your desktop in any graphic program and work on it. The one in iPhoto stays the same. You can also share/export the picture/pictures to your desktop or folder to work on them or do batch processing, etc. You will still have the originals in your iPhoto Library.
    Or, you can open up the ~/Pictures/iPhoto Library/folders and option drag any
    picture out of the folder to your desktop. Notice that you will see a plus sign while dragging the photo. This is copying the file to your desktop
    I would advise anyone not to do this as they might forget to use the option key and drag the photo out. Next time you open iPhoto the photo will be missing.
    Two Apple kbs for you to read
    Don't tamper with files in the iPhoto library folder

  • Making iphoto default photo program

    iphoto used to work fine, I would log into facebook, myspace, my blog, etc and choose to upload file, and it would bring up my photos in iphoto. NOW, it brings up photobooth. Well, I have no photos in photobooth, and I have no NO clue how to make it go back and make iphoto the default photo program. HELP! thanks in advance...

    In the upload selection window look in the lower left under media and choose photos ==> iPhoto
    LN

  • HT201317 how do I drag photos from iphoto to photo stream?

    how do I drag photos from iphoto to photo stream?

    Simply select the photo or photos you wish to add to photo stream from the album you are viewing and drag them onto the photo stream listing under the 'recent' heading on the left-hand side of iPhoto when you see a blue box surrounding the listing drop the photos you have dragged.
    Alternatively, select the photos and use the 'share' button in the bottom right corner of iPhoto and choose photo stream from the list that appears.

  • Bug!cannot choose photo to mail in album

    Bug!cannot choose photo to mail in album

    I can confirm that this happens +only when in Edit mode+.
    It works exactly as it should in Organisation mode.
    I'm not sure it's a bug. It strikes me as intentional. After all I can't drag anything to another Album (i.e Organise) when I'm in edit mode.
    I don't recall this being a feature of iPhoto 08.
    iPhoto menu -> Provide iPhoto Feedback
    Regards
    TD

  • I am making a calendar in iPhoto, picking photos from a folder, let's call it "2011 Pics," in iPhoto. After arranging all the photos and captions I decided I wanted to insert a new photo -- one that was not in "2011 Pics." So I inserted it into the folder

    Add new photo to existing calendar folder in iPhoto
    I am making a calendar in iPhoto, picking photos from a folder, let's call it "2011 Pics," in iPhoto. After arranging all the photos and captions I decided I wanted to insert a new photo -- one that was not in "2011 Pics." So I inserted it into the folder, but the picture does not show up on the scrolling menu of pictures at the left of the calendar-making page. This happened last year and in frustration I started all over again. But surely there is a way to add a new picture to a calendar that is already laid out.

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • 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

  • How can i put my pictures from my picture files into my iPhotos for photo streaming onto my apple tv?

    Hi, I am a new user to iMac and have now bought just about every Mac product you can think of and have just taken delivery of an Apple TV and now want to stream photos but don't know how to transfer photos from my picture files over into my iPhotos for Photo Streaming. Is there an easy way? I have Mac for Dummies but they don't mention it there!! Guess it's too dummy for them!!! Any one out there can help me as I have loads of pics I would like to see on the big screen from time to time

    You need to connect the Apple TV and the computer to the same network and then turn on "Home Sharing" in iTunes. Check boxes allow you to select what you want to share.
    You'll see a "Computer" icon on the Apple TV and it holds all your music, movies and photos.

Maybe you are looking for

  • Problem with archivelogs in a phy stb

    Hi every body! I want ask you about my problem with the archivelogs in a physical standby. this standby works perfectly, but every time it recives a archivelog from the primary database, it generates another archivelog bigger than the it recives. -rw

  • Can you share tags with other workstations on a network.

    We are using Photoshop Element to tag photos at my work.  How do I allow other users on other computers to see the tags I have given pictures.  We are all on a network that can see the same picture folder.  We have our own license of the program at e

  • MacBook Pro does not boot

    I have a 2.2Ghz Core Duo 160HDD 2Gig Ram w Leopard 10.5.1 i was surfing the net yesterday and my the system crashed - screen went black and it turned itself off immediatly. So this happened twice before in the last 2 month, but i didnt read much into

  • How do you boot up from a 2nd drive?

    I will be installing a 2nd drive and doing a clean instal of 10.6. How do I boot up from this drive, and then how do I transfer the files, favopurites and email etc across?

  • Java.security.KeyStoreException: Cannot store non-PrivateKeys

    I have been getting this exception: Exception in thread "main" java.security.KeyStoreException: Cannot store non-PrivateKeys      at sun.security.provider.JavaKeyStore.engineSetKeyEntry(Unknown Source)      at java.security.KeyStore.setKeyEntry(Unkno