Re: Change tif to jpg
Re: Change tif to jpg
- Subject: Re: Change tif to jpg
- From: Milos Urosevic <email@hidden>
- Date: Sat, 28 Sep 2002 20:45:20 +0200
Hope this helps.
I also hope that you just want to change extension. If you want to change
file type of image, this will not help!
Milos
*************
-- put this part in loop for all cumulus records
set oD to AppleScript's text item delimiters
set cum_name to my searchReplace("tif", "jpg", cum_name)
set AppleScript's text item delimiters to oD
-- end loop here
on searchReplace(sStr, rStr, tStr)
set AppleScript's text item delimiters to "."
set aList to (every text item of tStr)
set item 2 of aList to rStr
set tStr to aList as string
end searchReplace
**************
>
Hi !
>
>
I am trying to change the end of record name in Cumulus 4.0 from tif to
>
jpg
>
>
I have done this:
>
>
get name as string
>
set cum_name to result
>
>
Result is "SAX01_001.tif"
>
>
How could I change tif to jpg ?
>
>
/Krister N/
>
_______________________________________________
>
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.
_______________________________________________
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.