• 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
resizing an image based on part of filename
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: resizing an image based on part of filename
      • From: "Mark J. Reed" <email@hidden>
    • Re: resizing an image based on part of filename
      • From: email@hidden
  • Prev by Date: Re: How to simulate C's function pointer in AppleScript?
  • Next by Date: Re: How to simulate C's function pointer in AppleScript?
  • Previous by thread: Re: choose file of type {}
  • Next by thread: Re: resizing an image based on part of filename
  • Index(es):
    • Date
    • Thread