• 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 list of records...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading list of records...


  • Subject: Re: reading list of records...
  • From: kai <email@hidden>
  • Date: Wed, 29 Oct 2003 02:05:38 +0000

on Tue, 28 Oct 2003 12:27:30 -0500, Mario Kolaszewski wrote:

> Having trouble writing and reading a list of records from a text file.
> Can anyone direct me in the right direction?

Try something along these lines, Mario:

-----------------------------

set f to alias "path:to:file"
set eof f to 0
write {a:1, b:2} to f

-----------------------------

read f as record
--> {a:1, b:2}

-----------------------------

---
kai
_______________________________________________
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: debugging, managing AppleScript libraries with Script Debugger
  • Next by Date: Re: Assign keyboard shortcut to scripts menu item
  • Previous by thread: Re: reading list of records...
  • Next by thread: Applescripting Acrobat Menu Items
  • Index(es):
    • Date
    • Thread