• 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: 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.

References: 
 >Change tif to jpg (From: Krister Nyman <email@hidden>)

  • Prev by Date: Re: How to use "Check for new mail" feature
  • Next by Date: re: Change tif to jpg
  • Previous by thread: Change tif to jpg
  • Next by thread: Re: Change tif to jpg
  • Index(es):
    • Date
    • Thread