Re: Change tif to jpg
Re: Change tif to jpg
- Subject: Re: Change tif to jpg
- From: Krister Nyman <email@hidden>
- Date: Sun, 29 Sep 2002 16:04:58 +0200
Hi !
The problem is solved ( Thanks Milos Urosevic, Michelle Steiner and Kai
Edwards ) :-)
Here is the result:
get name as string
set cum_nam to result
if cum_nam ends with "tif" then set cum_nam to cum_nam's text 1 thru -4 &
"jpg"
set name to cum_nam
get notes as string
set cum_notes to result
set ps_notes to cum_notes & "Bild:" & cum_nam & "/"
set notes to ps_notes
tell application "Canto Cumulus Desktop PLUS"
activate
set the clipboard to ps_notes
end tell
It puts Record/Filenam to end off notes/caption whit changed tif to jpg
and puts notes/caption on clipboard.
/Krister N/
Krister Nyman wrote:
>
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.