• 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: Write a list to a file and back again?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Write a list to a file and back again?


  • Subject: Re: Write a list to a file and back again?
  • From: John Delacour <email@hidden>
  • Date: Tue, 22 Apr 2003 18:20:21 +0100
  • Mac-eudora-version: 6.0a16

At 4:07 pm +0200 22/4/03, Goran Ehn wrote:

I suppose this is easy, but how do I write the content in a list to a textfile for later retrieval into a list again, is there a list item delimiter that can be used here to keep the values in the list apart?

When you write a list to a text file it is not text that you write but a list, so you must

write {1,2,3,4} to file f

.....

set my _list to read file f as list --<<<<<

JD
_______________________________________________
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.

References: 
 >Write a list to a file and back again? (From: "G?ran Ehn" <email@hidden>)

  • Prev by Date: Write a list to a file and back again?
  • Next by Date: Entourage Script
  • Previous by thread: Write a list to a file and back again?
  • Next by thread: Scripting Disk Utility in OS X
  • Index(es):
    • Date
    • Thread