• 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: Returns in Extracted Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/


  • Prev by Date: RE: directory listing
  • Next by Date: Re: Returns in Extracted Text
  • Previous by thread: Re: Returns in Extracted Text
  • Next by thread: RE: Returns in Extracted Text
  • Index(es):
    • Date
    • Thread