re: Change tif to jpg
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.