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


Click here to return to the 'Convert IPTC caption to iPhoto comment via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Convert IPTC caption to iPhoto comment via AppleScript
Authored by: teece on Feb 21, '07 11:50:43AM

Thanks for the tip.

I'm actually writing an Applescript/Perl script to do this, and other stuff right now.

Word to the wise: Applescript is crazy slow if you try to do this over hundreds of photos, especially if you throw in keywords and titles, and you have to resort to GUI scripting if you want to set the rating (arg!).

You don't need GUI scripting to set a keyword, though: you can use the "assign keyword" function of iPhoto. It takes a string.

I'm doing as much of it as I can in Perl, as it's faster to parse the output of mdls, rather than get metadata from iPhoto via Applescript (for the iPhoto->IPTC direction). In the other direction (IPTC-iPhoto), I can't really avoid Applescript, at least not without doing something pretty hackish.



[ Reply to This | # ]