Currently Being ModeratedNov 19, 2012 4:32 PM (in response to Evan Izer)
Evan Izer wrote:
Now, before I modified the images, I duplicated the directory, so I have a copy of all of the images that retain their Spotlight Comments field with each image's information. What I want to do is copy the text from the Spotlight Comments field of the original files and either paste this text into the Spotlight Comments field of the modified files (which are in a different directory, but retain the same filenames as the originals)
This script does exactly that:
set sFolder to (choose folder "Select folder wich contains original images.") as string set dFolder to choose folder "Select folder wich contains modified images." tell application "Finder" repeat with tItem in (get document files of dFolder) set origFile to sFolder & (get name of tItem) if file origFile exists then set origComment to comment of file origFile set comment of tItem to origComment end if end repeat end tell
Currently Being ModeratedNov 19, 2012 4:57 PM (in response to Jacques Rioux)
Brilliant! Thank you so much!