Re: Monitoring a folder
Re: Monitoring a folder
- Subject: Re: Monitoring a folder
- From: Chad Gray <email@hidden>
- Date: Wed, 03 Jan 2001 11:42:14 -0500
Thanks for the great replys everyone.
I would have to do this the hard way. The user would log into a web page
and upload an image. I need to create a thumbnail image from it.
So i would have to mount the directory on a Mac to run the script. It
looks like i will have to use Photoshop to make the thumbnail though. Most
of the images being uploaded with be CMYK TIF, EPS, PDFs etc.
Using applescript will be the last resort. I want to find a script or
program to run on the NT Web server that will do the thumbnail, but i keep
running into trouble with my CMYK TIF, EPS, and PDF's. I found a few
scripts that will size RGB GIFs and JPGs, but that doesn't help.
Thanks!
Write a stay-open application with an idle handler that checks the contents
of the folder. Have a IN folder where new files are dropped, and an OUT
folder where processed files are placed by the script. If new items are
detected in the IN folder, have the script copy them to a temporary folder,
process them there, and then move them to the OUT folder.
> Like when a user creates a folder and adds images to the folder the
> applescript launches photoshop and resizes the images?
PhotoShop does not contain built-in AppleScript support like most
applications. You have to pay somewhere around of $300 to get AppleScript
support in PhotoShop. Said AppleScript support comes in the form of a
plugin called PhotoScripter.
Instead of forking over the big bucks and making your script rely on
PhotoShop, you can use the free scripting addition Akua Sweets "scale image"
command to resize your images (and do lots of other stuff with images).
Akua Sweets lets you use QuickTime to manipulate images, so it supports any
format supported by QuickTime. Check it out - you'll like it
HTH
JR
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users