Re: Returns in Extracted Text
Re: Returns in Extracted Text
- Subject: Re: Returns in Extracted Text
- From: "Arthur J Knapp" <email@hidden>
- Date: Mon, 07 May 2001 17:02:33 -0400
>
Date: Mon, 07 May 2001 12:06:03 -0600
>
Subject: Returns in Extracted Text
>
From: Eric Schult <email@hidden>
>
... I'm putting in a carriage return
>
between the lines. When I open the resulting text on a WinNT box, using
>
NotePad, the Mac carriage returns are replaced by a maddeningly cute little
>
musical note character. Does anybody know what I can do on the script side
>
to make NotePad read the carriage return as a carriage return?
Actually, it *is* reading them as carriage returns. :)
What you want is to convert them to the windows "return" sequence:
newline-carriage return.
set MacReturn to return --> ASCII 13
set UnixReturn to ASCII character 10 -- newline
set PCReturn to (return & ASCII character 10)
if ( readOnWindows = true ) then
set end of myString to PCReturn
etc...
Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden
Hey, check out:
http://home.earthlink.net/~eagrant/