• 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: Read using delimiter - does it work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read using delimiter - does it work?


  • Subject: Re: Read using delimiter - does it work?
  • From: JJ <email@hidden>
  • Date: Mon, 22 Jul 2002 09:42:55 +0200

> set INPUT to open for access theFile
> set deLimit to (ASCII character 10) as text
>
> This doesn't work apparently returning zero length every time
> set theText to read INPUT using delimiter deLimit as text
>
> This works OK and has solved my problem for now
> set theText to read INPUT until deLimit as text
>
> Script Editor 1.8.3, MacOS 9.2.1

Try this:

set theText to read INPUT as text using delimiter deLimit

JJ
________
* AS 1.8.2b3
Yahoo! Health - Feel better, live better
http://health.yahoo.comm
_______________________________________________
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.

  • Prev by Date: Re: New to this list
  • Next by Date: Re: Result too long for Event Log
  • Previous by thread: Read using delimiter - does it work?
  • Next by thread: URL Access Scripting return
  • Index(es):
    • Date
    • Thread