Needed: Script to copy Photo album name into the comments field for pix

I was never in the habit of applying anything to photo comments, but gave my albums a desriptive name so I knew what they were. Now I wish I had because album titles are not searchable. I'm wondering if anyone knows how to create an Automator workflow or Applescript that could take the Album Name and apply it to the comments field for each picture in the album. I have over 25,000 pictures and quite a few albums. I've started to do it manually for each album but would love to find a quicker way to accomplish this.
Thanks.

This should do the trick for you:
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "iPhoto"
set theAlbums to (every album)
repeat with thisAlbum in theAlbums
set thisAlbumName to the name of thisAlbum
set thePhotos to (every photo of thisAlbum)
repeat with thisPhoto in thePhotos
set comment of thisPhoto to thisAlbumName
end repeat
end repeat
end tell</pre>
FYI, it will step through every album; get its name; and then step through every photo in the album and change the comments to the album's name.
I recommend that you make a back-up before proceeding!

Similar Messages

  • When I enter a group name into the Bcc field and try to send the message, I get "[group name] is not a valid e-mail address..."

    Been using the same template to send a weekly newsletter for a year or two but now with a recent update to Thunderbird the group name is rejected when I try to send the message:
    With a group name in Bcc field, when I press "Send" and try to send the message, I get this alert: "[group name] is not a valid e-mail address because it is not of the form user@host. You must correct it before sending the e-mail."

    This has been reported as [https://bugzilla.mozilla.org/show_bug.cgi?id=1060901 Bug #1060901]. If you have an account on Bugzilla, please consider voting for that issue.
    Several other people have sent in the same support request as you, noting this happened after they upgraded to version 31.1.
    The exact error message is: XXXX is not a valid e-mail address because it is not of the form user@host. You must correct it before sending the e-mail.
    '''This happens in Thunderbird 31.1.0 when your mailing list description includes several words separated by spaces.'''
    Although not ideal, these workarounds should let you use your mailing lists until a proper fix is implemented:
    * While composing an email open the address book and select the list you are trying to send to, highlight all the names in the list and drag them to the To: box. This uses your existing data without modifying it.
    * Replacing the blanks " " between the words in such lists' descriptions with an underscore "_". This requires modifying your mailing list(s) description(s).
    * Downgrade to a previous version and disable automatic updates (Windows)

  • Need helpcreating a script to read the name of a folder and adding that name into the permissions of that folder

    Need help creating a script to read the name of a folder (which is the AD Username) and adding that name into the permissions of that folder.
    I have over 100 folders which I need to add the AD user to read and write to their own folder
    Hope you guys understand what I mean

    Just to add, Mac in intergrated into AD and all I need is help in creating the script
    Thanks

  • When I try to simply add a few photos (from Events) into a newly created Album, it always creates a Folder for the photos to go into. I don't need a Folder.  I just need the photos to go into the Album.  What am I doing wrong?

    When I try to simply add a few photos (from Events) into a newly created Album, it always creates a new Folder - a sub folder to the new Album I just created -  for the photos to go into. I don't need a Folder!  I just need the photos to add into the Album.  What am I doing wrong?

    Sometimes it takes a precise drop to get it into the album.  Make sure you see the album highlighted before releasing the mouse:
    OT

  • I need help buying iPhoto photo album.

    I need help buying iPhoto  photo album. iPhoto was built in to my iMac. I am supposed to be able to make picture albums using my photos. It won't let me purchase the photo album i just made. I can't find any kind of help anywhere. Please help

    If you have iPhoto '08 or older it is no longer supported for print products
    If you have iPhoto '09 or '11 reboot, launch iphoto and
    Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
    If the preview s good and you can not order boot into safe mode, preview again and order
    LN

  • Photos album names not syncing with iPhone

    I'm having trouble with the new Photos application.  I've renamed several of my album names on the app, but in iTunes the changes are not being recognized and thus not syncing to my iPhone either.
    Separately, several albums have "x" number of photos in them, but when I sync that album to my phone less than "x" photos actually flow into the album.  It's frustrating.
    I have rebooted everything (phone, computer, etc.) and I'm running the latest version of all software, so those basic fixes will not work here.  Any ideas?!?  Thanks in advance for your help...

    Solved here...
    Photos app not syncing with iTunes

  • Do I need to provide the physcial hostname to iAS during installation or can I just that installed name into the /etc/hosts file?

     

    Hi,
    Pls confirm if you are using Windows 2000 Pro, in this O/S the
    hostname is the name of the computer itself. Check the
    MyComputer->Properties->Network Identification->Properties, the name you
    find under the computer name will be automatically taken while
    installation, if it doesn't then there is some error. However the
    C:\Winnt\System32\Drivers\Etc\hosts doesn't matter much while installing
    iAS 6.0 SP1 or above. Hope this helps
    Regards
    Raj
    Hazel Seow wrote:
    Do I need to provide the physcial hostname to iAS during installation
    or can I just that installed name into the /etc/hosts file?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Photo Album name vs. Web Page name?

    It seems life the page name and the photo album name are dependent upon each other. Is there a way these could be different?
    My web host doesn't like spaces in the page names, etc.

    Hi TandA4,
    iWeb adds an underscore where there are spaces in the page name. If your album name is Summer Vacation, the page name will be Summer_Vacation.

  • Software To Get Album Name Into iTunes for Nano?

    Some of the songs I own on my Nano have only the Artist name and Song title. Can someone point me to software that exists that can take Artist/Title and populate Album name automatically?
    I just found a great program that goes into Amazon to pull down album cover art for the Nano, but with a couple of hundred songs lacking the LP name, it won't work.
    TIA
    BJ

    Are you referring to something that can download the album name from the Web given artist and song name, for instance? I don't know of any software that will do that and I don't see how an app could do it reliably.
    The problem is that a given song by a given artist may be on more than one album: the original release, an artist compilation (greatest hits), or a multiple-artist compilation.

  • I have an iMac (OSX 10.9.2) and a Macbook (same).  I want to copy photos from one to the other.  how?

    I have an iMac (OSX 10.9.2) and a Macbook (same).  I want to copy photos from one to the other.  how?

    I'm sorry.  I got a little off-the-wall there.
    I want to have the same iPhoto files on both machines.  A few days ago I spent several hours swapping photos back and forth until I had one event with identical picture files on both.  Yesterday I scanned some old photos into the Macbook.  Today I wanted to copy them to the iMac.  I could not remember what I had done a few days ago, so I spent a couple of frustrating hours trying to either remember or find another way, to no avail.  I have no idea what I did right before; I only recall that it was pretty easy.
    I didn't write anything down.  I used to do that, but what I do is so intermittent that by the time I want to copy pictures again either (a) the app has been updated and the old way doesn't work (b) I've lost the paper with the notes on it or (everything seems fine but it just doesn't work.  So I gave that up.
    Yes, I do want both iPhoto libraries to be the same.  The Macbook is the one with the scanner and I download from my camera on the iMac, so I need to be able to move photos from one to the other, I think.

  • For some artists in my Music app on my I-phone, the songs do not appear when I search by the artist.  However, if I search the album name, all the songs show.  How do I get the songs to show under songs?

    For some artists in my Music app on my I-phone, the songs do not appear when I search by the artist.  However, if I search the album name, all the songs show.  How do I get the songs to show under songs?

    Hi Spam_Valley,
    I understand that you are having issues with your music displaying correctly. This may be an issues with the metadata stored within that song, and iTunes interpretation of that info.
    We may need to repair this. See the following resources for information:
    iTunes 10 for Windows: If song titles don’t appear correctly
    http://support.apple.com/kb/PH1468
    Fixing Incorrect Song or Album Listings in iTunes
    http://support.apple.com/kb/TA24677
    Thanks,
    Matt M.

  • X6: why is there no photo album option in the gall...

    why is there no photo album option in the gallery?
    other units like the N79 had this option..
    but i dont get why they didnt include it with X6
    that sucks... ive had alot of trouble finding reliable and working photo programs that allow
    photo album... usually compatibility problems...
    many thanks for youre help

    JIRAIYA_03 wrote:
    not that really, i mean, we cant single out certain images that we want and add them to an album, like in previous models...
    i really hope for that in the X6 ((
    I think you can achieve what you want to do on the X6. On the X6 an album is termed a folder.
    If you go to the Gallery so that you can see the large list of thumbnail photos and select
    Options > Folder options > New folder
    Create the folder with a name of your choice.
    You should then see a folder icon appear at the top of the large list of thumbnail images. If you then select, or 'Mark', the images that you want to group together by selecting
    Options > Mark/Unmark > Mark (you may have to scroll down before Mark/Unmark appears).
    Once you have a little tick by all the photos that you want to group together then select
    Options > Folder options > Move to folder and choose the folder you created earlier.
    You should then have only those images grouped together in a single folder (or album ). You can create as many folders as you like. I use this method to group all my wallpaper images together and also any system images that the gallery may discover so that they don't clog up the main gallery.
    Note: From what I can see the actual locations of the photographs on either drive C: or drive E: remain unchanged, only their listing within the gallery is changed so that an image appears in the main group or within a 'folder'.
    Hope that helps and I hope I've understood you correctly in terms of what you want to do.
    S.
    History: Motorola MR30, Nokia: 7110, 7650, N70, N80, N82, X6 (32GB), Samsung Galaxy SII
    Current: Samsung Galaxy Note3 Black

  • I want to copy and paste a long list of phone numbers into the 'to' field of messages. Ideas?

    I want to copy and paste a long list of phone numbers into the 'to' field of messaging. All it does is become one long number instead. I have even tried commas in between. Any ideas? (They are NOT contacts)

    That's not how iMessage was designed to work.  It works with your contacts.  You start typing a phone number or email address and you'll se a list of hint from auto-complete.  After you select a suggestion, start typing another address.  If the addresses you want are not in your contacts, you'll need to enter each of them manually.

  • When iPhone is connected to PC, it shows in itunes but Autoplay does not open for me to copy photos. I tried the Control Panel, changing Autoplay settings but no use. I use a Windows Vista. Please help! All my little ones' pictures are on my iPhone 3GS

    When iPhone is connected to PC, it shows in itunes but Autoplay does not open for me to copy photos. I tried the Control Panel, changing Autoplay settings but no use. I use a Windows Vista. Please help! All my little ones' pictures are on my iPhone 3GS.
    I tried hard reset on my iPhone. I tried restarting laptop and iPhone. I tried a different laptop. I tried removing driver and reinstalling from Device Manager but did not find a driver other than "Apple Mobile Device USB Driver" under "Universal Serial Bus controllers" which I heard shouldn't be uninstalled.
    Anything I haven't tried?
    HELP!

    A bit confused by your statement
    bcboarder wrote:
    . I do not understand why the music is clearly on the Ipod but wont reconize it anywhere.
    Are you seeing your music listed in the iPod screen, or in Win explorer as in your earlier post?
    I can see all the songs in my Edrive>al's Ipod> Ipod Control> Music folder.
    A corrupted iPod database, will report zero music used, and have your music size reported as others, so you wont see the music in the iPod screen. Sorry, I thought there was some hope for you with iPodAccess, in recovery of the corrupted iPod database with your ratings.
    You can try to borrow and  use the Mac Disk Utility ->First Aid ->Repair.
    Of course, if your iPod Hardisk is in a bad state, from the Disk Diagnostic report, then all my suggestion are futile.

  • TS2634 My iPod Touch only syncs with my photo albums.  All the music is no longer on the device.

    My iPod Touch only syncs with my photo albums.  All the music is no longer on the device.

    - Reboot the computer
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

Maybe you are looking for

  • Recording Audio...Can't hear over other tracks when recording!!

    Hello again and thanks for the help. So why, when I'm recording audio, a guitar for example, is the signal so low I can barely hear it above the other tracks. Then, all of a sudden, when I play back what I recorded it almost knocks me back off my sea

  • Aperture and Flickr

    I asked this question before, but I think I was not specific enough. When you publish i.e. a project to Flickr a set is created in Flickr and that set is also shown in the Aperture Library. When you look at the metadat of a photo, you can she under "

  • JAZN-LDAP: Make use of different LDAP Server

    Hi, I am trying to make use of a different LDAP Server (other than OID)-- With OID i am able to authenticate users. Now i need to make use of a different LDAP Server (For ex: SunONe Directory Server).. I have tried specifying the LDAP URL location of

  • Call a subVI from within vi template

    Hi, I had a subVI & wanted to call it multiple times with its front panel open .As I understood I should have a vi template for this purpose. Can I make a new VIT & then simply call the subvi i had before? Best Regards

  • Window popped up that said to shut down. Should I be concerned?

    I was browsing on Safari when the screen faded (from top to bottom). A window popped up that said I needed to shut down the iMac and restart. Is this a sign that there is something wrong? Might it be a start-up disk problem? When I restarted, it took