As a digital photographer, my work often calls for specialized tasks, so I created these functional little scripts to handle these tasks. Since so many people helped me write these, I am posting them to return the favor. Note that they were writted specifically for my needs, so you'll probably have to edit them to make them work for you.
These are two scripts that will split up a folder of photos into as many DVD-sized subfolders (or as many CD-sized subfolders) as it can. Makes it easier to backup large photo collections.
I use Synchronize Pro by Qdea for synchronizing my two computers, and backing up all of my work each day. Since I am often backing up very large photographic files over my Airport Extreme wireless network, errors can sometimes happen. Sync Pro has a great feature where it will validate a backup and warn you of errors. Unforunately, I am not always on the computer where the error log exists. Therefore, I wrote this script so that Sync Pro would email me that day's backup log when it is finished, and warn me if an error was detected. This has saved me many times!
Three scripts that simplify adding or changing keywords and categories to multiple photos in iView Multimedia. These scripts will allow you to select keywords or categories from a text file. With the latest version of iView, the keyword UI has improved a great deal, and I don't find these scripts as needed. But sometimes they can still be helpful.
I often have many copies of the same photo in my catalog: the master raw file, the master Photoshop edit, versions for different print sizes. I wrote this script to help me find all versions of a photo. You select the photo(s), run the script, and it will find all versions of those photos, and just show them. In my file naming system, these files all share the same root "YYYY-MM-DD-HHMMSS" (date and time of creation). So this script strips off the suffix of the file name (".NEF") and looks for all files that start with that root filename. A second version of this script will show the root file name in a dialog and let you edit it before searching for matches.
My favorite applescript for iView is this little gem. It tells iView to highight all of the photos which match certain conditions. This is handy because iView annoyingly does not let you quickly select files which match more than one condition (i.e. show photos whose status is "good" AND which are Photoshop files). With this script, I can select a subset of my photos, and then run the script to refine it further.
The beauty of the script is that it is pretty easy to understand what it does, and to modify it. For example, I use the "Status" annotation to mark my rankings of my photos (I use ranks such as "A keeper", "B good", "C needs work", "X Trash", etc.). So in the script below, I am lwooking for all the photos whose status starts with "A". What's great is that I could easily change the script to instead select photos "whose status contains 'keeper'", or "whose status ends with 'work'". Sweet.
tell application "iView MediaPro"
tell catalog 1 to select (every media item whose status starts with "A")
end tell
This collection contains scripts to select files that whose "status" field contains certain values. It also contains scripts to set the "status" field of all selected images to these values.
I use iView in conjuction with Nikon Capture. I usually use iView's "helper app" menu to open a .NEF file directly in Capture. But I wanted my image to open on a second monitor, with the windows zoomed large and the image set to fit in the window. So I wrote this little script. (You'll need to change the 'bounds' values to match your own monitor configuration.)
Note: Since these AppleScripts were designed for my own needs, they will require a basic knowlegde of AppleScript to modify to your own system and needs. Use at your own risk, I make no promises, guarantees, or support.