applescript and graphics programs
applescript and graphics programs
- Subject: applescript and graphics programs
- From: Erik Price <email@hidden>
- Date: Mon, 10 Jun 2002 11:52:36 -0400
Hi everyone,
I was hoping to solicit some advice. I need to write a pretty involved
AppleScript (perhaps a droplet or something) that does a couple of
things when executed, and I'm not sure if it's all even possible. Could
someone confirm or give a bit of input?
Here is the requirement:
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.
Later the text file will be used as the insert data for a MySQL
database, but that's offtopic and will be the easiest part. The hard
part, for me at least, will be creating this script.
Can anyone give me a pointer? My methodology was going to be to use the
dictionary of the programs that we use here (Quark, Photoshop,
Illustrator, etc) to see what file attributes are able to be extracted
from the files. But any advice before I get started is greatly
appreciated.
Erik
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
email@hidden
_______________________________________________
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.