• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Monitoring a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Monitoring a folder
      • From: JollyRoger <email@hidden>
References: 
 >Monitoring a folder (From: Chad Gray <email@hidden>)
 >Re: Monitoring a folder (From: JollyRoger <email@hidden>)

  • Prev by Date: Re: Referring to the local hard drive
  • Next by Date: Re: applescript-users digest, Vol 2 #179 - 6 msgs
  • Previous by thread: Re: Monitoring a folder
  • Next by thread: Re: Monitoring a folder
  • Index(es):
    • Date
    • Thread