• 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
How do I replace the last three characters of a variable without
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I replace the last three characters of a variable without


  • Subject: How do I replace the last three characters of a variable without
  • From: "Patrik B." <email@hidden>
  • Date: Fri, 13 Jan 2006 19:31:13 -0800

Hi,

Simple but nevertheless I don't know how to do it.

I am trying to replace all jpegs in my indesign file with psds.

Set imagename to"Jap.jpg"
Set myextension to ".psd"
set newimagename to item 1 through -3 of imagename
set finalname to (newimagename & myextension)
result

I get colons in between each character, now how do I loose them? Or do I have
to reword the above.

Best, Patrik

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How do I replace the last three characters of a variable without
      • From: Martin Orpen <email@hidden>
    • Re: How do I replace the last three characters of a variable without
      • From: Shane Stanley <email@hidden>
  • Prev by Date: How to pick user selected files only from one folder (solved!)
  • Next by Date: Re: How do I replace the last three characters of a variable without
  • Previous by thread: How to pick user selected files only from one folder (solved!)
  • Next by thread: Re: How do I replace the last three characters of a variable without
  • Index(es):
    • Date
    • Thread