Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

An AppleScript to copy iPhoto Description to Name Apps
If you have always placed a description of photos in the Description field in iPhoto instead of the Name field, then you'll be in for an unpleasant surprise when using iWeb (or the .Mac gallery). That's because when publishing photos using either method, it only gives options to display names and not descriptions underneath each photo.

So I took an AppleScript that Apple provides for iPhoto and modified it to batch copy the Description field into the Name field in iPhoto. Compile the AppleScript in Script Editor, select a bunch of photos in iPhoto, then click Run in Script Editor. After a little bit, it should do everything. Then you're ready for iWeb!

I did this album by album in case something went wrong, but it never did. Also, I tried it in iPhoto '08, but my guess is it works in older iPhoto versions as well.
    •    
  • Currently 4.20 / 5
  You rated: 5 / 5 (5 votes cast)
 
[10,964 views]  

An AppleScript to copy iPhoto Description to Name | 5 comments | Create New Account
Click here to return to the 'An AppleScript to copy iPhoto Description to Name' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to copy iPhoto Description to Name
Authored by: Old Toad on Aug 24, '07 09:34:03AM

Tried to compile it and it wouldn't. Reported an unknown token: Â.



[ Reply to This | # ]
An AppleScript to copy iPhoto Description to Name
Authored by: imcquill on Aug 25, '07 09:14:10AM

that text file was kind of funky. Replace the A^ on the fifth line with the
symbol which you can copy and paste in. Then it compiles.

This would be easier if iPhoto had just built it in. There is even a 'batch change' option in the menus, but copying the description to the name isn't an option.

By the way, the way the applescript is set up, if the description is empty, the name would become empty after running the script. This does not change the filename of the picture at all, just the metadata. This is good, because you probably do not want the filename displayed for the name on the webpage.



[ Reply to This | # ]
An AppleScript to copy iPhoto Description to Name
Authored by: Old Toad on Aug 26, '07 11:21:26AM

That did it. Thanks.



[ Reply to This | # ]
An AppleScript to copy iPhoto Description to Name
Authored by: lucaslivingston on May 05, '12 11:09:31AM

This hint might be going on 5 years old, but it still works in iPhoto 11 and just saved me tons of time. Thanks! Just be sure to follow the advice in the comments and exchange with



[ Reply to This | # ]
An AppleScript to copy iPhoto Description to Name
Authored by: edbolson on Mar 04, '13 12:18:33PM
I had a batch of photos I wanted to upload to Facebook and I had entered comments on many of them. Didn't show up in Facebook. Found this script and it worked great. However, some of my uncommented photos had their titles changed to "untitled". So I added one line to check for a blank comment.
Add this before the line "set the title to the comment":

if the comment is not "" then 


[ Reply to This | # ]