• 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: Change tif to jpg
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Change tif to jpg


  • Subject: re: Change tif to jpg
  • From: Michelle Steiner <email@hidden>
  • Date: Sat, 28 Sep 2002 11:55:48 -0700

On Saturday, September 28, 2002, at 06:08 AM, Krister Nyman wrote:

Result is "SAX01_001.tif"

How could I change tif to jpg ?

If all you want to do is change the string, and not the actual file type, this should do it for you.

set foo to "SAX01_001.tif"
set {tid, text item delimiters} to {text item delimiters, {"tif"}}
set foo to text items of foo
set text item delimiters to {"gif"}
set foo to foo as text
set text item delimiters to tid
foo

--> "SAX01_001.gif"

--Michelle

We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Change tif to jpg
  • Next by Date: Re: Adding a message to a mailbox in Mail
  • Previous by thread: Re: Change tif to jpg
  • Next by thread: Re: Change tif to jpg
  • Index(es):
    • Date
    • Thread