Re: How to Read from Text File?
Re: How to Read from Text File?
- Subject: Re: How to Read from Text File?
- From: Chris Garaffa <email@hidden>
- Date: Thu, 22 Jan 2004 18:46:47 -0500
On Jan 22, 2004, at 5:32 PM, Kurt Godden wrote:
On the Apple website I found a nice script to let me save a string to
a text file. How can I do the inverse and read from a text file
without opening up an application like Text Edit?
I just want to bind a string variable with the the contents of the
whole file OR a given line from that text file.
I haven't found the code to do that yet.
Take a look at the Standard Additions dictionary. The "read" command is
what you're looking for.
_______________________________________________
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.