• 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: applescript and graphics programs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript and graphics programs


  • Subject: Re: applescript and graphics programs
  • From: Cornwall <email@hidden>
  • Date: Mon, 10 Jun 2002 10:12:07 -0700

At 11:52 AM -0400 6/10/02, Erik Price wrote:

>1. A folder containing graphics files such as JPEGs, Photoshop
>documents, Quark XPress documents, Illustrator files, TIFFs or PDFs
>will be assembled by the user.
>
>2. The user takes their folder and drags it over the droplet, which
>activates the AppleScript (that I need to write).
>
>3. The AppleScript searches through this folder and extracts the
>following information about each file:
> - width
> - height
> - resolution if applicable
> - file type (JPEG, TIFF, QXP, etc)
> - file size
>The dimensions preferrably in inches (but if it must be pixels then
>I can do the math to get the inches based on the resolution)
>
>4. The information is then written to a text file which is added to
>the folder.

If you are running OS 8 - 9.x then have a look at ImageMagick_AE
located: http://www.lazerware.com/imagemagick/
ftp://ftp.lazerware.com/ImageMagick_AE.sit
ImageMagick_AE has a scripting only interface and a collection of
sample scripts to get you started.

There is also a UNIX version of the app for OSX somewhere. You should
be able to find it from here: http://www.imagemagick.org/

Finally, there are a number of AppleScript parsing routines that I
have seen float out from the two main AppleScript mailing lists. You
might try the archives of both lists.

Corny
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Removing trailing spaces
      • From: webguide <email@hidden>
References: 
 >applescript and graphics programs (From: Erik Price <email@hidden>)

  • Prev by Date: Illustrator 10 Graph automation
  • Next by Date: Re: applescript and graphics programs
  • Previous by thread: applescript and graphics programs
  • Next by thread: Removing trailing spaces
  • Index(es):
    • Date
    • Thread