• 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
remove suffix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

remove suffix


  • Subject: remove suffix
  • From: email@hidden
  • Date: Thu, 27 Sep 2001 09:31:21 +0200

Hi,

I have a script that copies htm files and adds some code in them. I need to
add some code to this script that removes the old suffix on each file.

example:
Filename = myfile.htm
New filename = myfile

This is probably very easy to do but I dont know how to write the
applescript code to remove ".htm" of the filename. Today I use
filemanipulator to do this, but it is one extra step. So it would be great
to have this function in the script.

Thanks in advance!
Peter


  • Follow-Ups:
    • Re: remove suffix
      • From: JollyRoger <email@hidden>
    • Re: remove suffix
      • From: Paul Berkowitz <email@hidden>
    • Re: remove suffix
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Why doesn't this work?
  • Next by Date: Re: List of error codes
  • Previous by thread: Re: Why doesn't this work?
  • Next by thread: Re: remove suffix
  • Index(es):
    • Date
    • Thread