• 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: Return or No Return
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Return or No Return


  • Subject: RE: Return or No Return
  • From: "Barry Wainwright" <email@hidden>
  • Date: Fri, 24 Mar 2006 17:09:52 -0000

set textList to paragraphs of (get read refNr)


-----Original Message-----
From: applescript-users-bounces+barryw=email@hidden
[mailto:applescript-users-bounces+barryw=email@hidden] On Behalf
Of Luther Fuller
Sent: 24 March 2006 16:42
To: AppleScript Users
Subject: Re: Return or No Return

I haven't seen the latest postings, since Apple's Mailing Lists seem to be
offline.
A little experiment indicates that the proper way to read a text file as
lines of text is to use

     set textList to read refNr using delimiter {(ASCII character 10),
return}

The result is a list of strings where each string is a line of text.
It works correctly for both return delimited and linefeed delimited files
without having to worry about which delimiter is used.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Return or No Return (From: Luther Fuller <email@hidden>)

  • Prev by Date: Photoshop: how to 'delete' (i.e. like pressing backspace)
  • Next by Date: Re: Photoshop: how to 'delete' (i.e. like pressing backspace)
  • Previous by thread: Re: Return or No Return
  • Next by thread: [ann] Appscript Installer 1.3 released
  • Index(es):
    • Date
    • Thread