Re: How to Read from Text File?
Re: How to Read from Text File?
- Subject: Re: How to Read from Text File?
- From: Michelle Steiner <email@hidden>
- Date: Thu, 22 Jan 2004 16:38:28 -0700
On Jan 22, 2004, at 3:32 PM, Kurt Godden wrote:
I just want to bind a string variable with the the contents of the
whole file
set foo to choose file of type {"TEXT"}
set bar to read foo
OR a given line from that text file.
set foo to choose file of type {"TEXT"}
set bar to read foo using delimiter return
set foobar to item 6 of bar -- or whatever line you wish to bind.
--
Don't dream it. Be it. --RHPS
_______________________________________________
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.