

To do this open the ScriptEditor program and paste in the following script: on open theObjects repeat with theObject in theObjects do shell script "'/Users/ USERNAME/Library/Application Support/Adobe/Lightroom/Export Actions/iptc-rename.py' " & (POSIX path of theObject as string) end repeatend open Next you need to create the AppleScript droplet that Lightroom will use to pass the files to the "iptc-rename.py" script. To have the correct path to wherever you installed ImageMagick.ģ. To do this change the line that say: imageMagick = "/Applications/ PATH_TO_YOUR_INSTALL/ImageMagick-6.3.2" The "iptc-rename.py" script needs to know where ImageMagick is located.

#Mac app for keywording full#
(You may need to make this file executable by executing "chmod +x SCRIPT" on the script in the Terminal, where SCRIPT is the full path to the iptc-rename.py including the script name.) This is the script that processes the file to build up the new filename from the keywords. Once you've installed ImageMagick, you need to download the " iptc-rename.py" script.
#Mac app for keywording install#
make inside the ImageMagick directory, or download the disk image and install it that way.Ģ. You can either download the source, use the Terminal program and type. This is the program the script uses to extract the IPTC keywords. The first thing you need to do is get ImageMagick and install it somewhere. However, Lightroom doesn't pass the names of the files to be processed on the command line, so to make this script work you need to create an AppleScript which just accepts the files from Lightroom and calls the script with them. To use this script you need to put it in the "Export Actions" folder in youruser Library folder under "Application Support/Adobe/Lightroom/Export Actions". (This is mostly for historic reasons - my previous workflow just put keywords in the file name and I'dlike to keep that for the time being.) I use this when I'm exporting images from Adobe Lightroom as a post-processing script to include my keywords in the filename. This script extracts the IPTC keywords from the file and inserts them into the filename so you get:

Renaming Images with IPTC Keywords from Lightroom This is a script for renaming an image file by inserting the IPTC keywords from an image into the filename.įor example, if I add keywords to an image in Lightroom (or any other IPTC-based keyword program such as Aperture) they show up elsewhere, and survive copying to other file systems,īut they don't show up in the filename when exported:
