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

Re: resizing an image based on part of filename


  • Subject: Re: resizing an image based on part of filename
  • From: email@hidden
  • Date: Thu, 23 Oct 2008 15:38:20 -0500 (CDT)
  • Importance: Normal

btw, I should have said that I already have the code to resize the image,
just need to figure out how to parse the code, and perform the appropriate
action...


> 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
>


 _______________________________________________
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

References: 
 >resizing an image based on part of filename (From: email@hidden)

  • Prev by Date: Re: Help with renaming files in folder from text file document
  • Next by Date: Re: How to simulate C's function pointer in AppleScript?
  • Previous by thread: resizing an image based on part of filename
  • Next by thread: Re: resizing an image based on part of filename
  • Index(es):
    • Date
    • Thread