A folder action script to size, rotate, and mail images

Oct 18, '04 09:16:00AM

Contributed by: Anonymous

I have created a script (view source) to work with images, specifically, images you'd like to email. I'm not a pro, so this script is based on the apple "image-duplicate as jpeg" script that can be found in the /Library -> Scripts -> Folder Action Scripts folder. It's designed to be used as a script action on a folder. When you put a pic in the folder, the script creates a copy of it, then asks for the target resolution and degrees of rotation, and then finally puts the final version into a new blank mail message.

[robg adds: I tested this, and it worked just as described. I saved the file as a script, then created a new folder and attached the script as a folder action. Drag and drop an image file onto the folder, answer the two questions, and presto -- new mail message opens with my resized and rotated image attached.]

Comments (4)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20041013090150429