• 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
Text file reading...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text file reading...


  • Subject: Text file reading...
  • From: David Crowe <email@hidden>
  • Date: Sat, 4 Jan 2003 16:53:14 -0700

I need a script that will read text files that are either delimited by 'return' characters or line feed. I won't know ahead which is which.

Is there a way to do this in AppleScript?

Currently, I'm using:

read FileRef before return


which returns one line if the file is delimited with 'return' or the whole file otherwise.

- David Crowe
_______________________________________________
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.

  • Follow-Ups:
    • Re: Text file reading...
      • From: Gary Lists <email@hidden>
    • Re: Text file reading...
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Handling Folders for Parent Path Reporting
  • Next by Date: Re: Text file reading...
  • Previous by thread: Re: Handling Folders for Parent Path Reporting
  • Next by thread: Re: Text file reading...
  • Index(es):
    • Date
    • Thread