resizing an image based on part of filename
resizing an image based on part of filename
- Subject: resizing an image based on part of filename
- From: email@hidden
- Date: Thu, 23 Oct 2008 14:57:37 -0500 (CDT)
- Importance: Normal
Hi,
I have a script I have been working on, yesterday I asked about renaming a
file, today I need to figure out how to resize an image to one of several
preset sizes based on the file name...
we are a publishing company, and the script generates "Proofing Images"
for our customers to approve.
the files have a code in the file name (2-4chars), the filenames have
spaces before the code, and the code is always just before the extension,
some examples are:
some name of ad BC.jpg
some other ad QP.jpg
I have the filename, containing folder, and full file path as separate
variables already, see below for examples:
newfile_name = "some ad BC.jpg"
fileLocation = "some:path:to:file"
newfilePath = "some:path:to:file:some ad BC.jpg"
any ideas as the best way to go about this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden