• 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: Reading and writing records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading and writing records


  • Subject: Re: Reading and writing records
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 24 Aug 2007 07:58:04 -0500

On Aug 24, 2007, at 7:33 AM, Chris wrote:
I know how to read and write a list of records to a file using the "as list" qualifier.

But I've been unable to discover the right incarnation to read and write one record at a time.
Is this possible? Does anyone have a code snippet for writing a list of records one at a time
and reading them back one at a time until eof?

I'm curious. What kind of file?
I read and write records from/to a file, but it's a .plist (xml) file.
Easy to do with System Events. The files are preference files, info.plist files within an application bundle, &c.
If you need to read/write some data, especially if it's already organized into records, this works very well.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Reading and writing records (From: Chris <email@hidden>)

  • Prev by Date: Re: Everyone's favorite: scripting Mail.app
  • Next by Date: Re: Reading and writing records
  • Previous by thread: Re: Reading and writing records
  • Next by thread: Re: Reading and writing records
  • Index(es):
    • Date
    • Thread