Re: How to Read from Text File?
Re: How to Read from Text File?
- Subject: Re: How to Read from Text File?
- From: Andrew Oliver <email@hidden>
- Date: Thu, 22 Jan 2004 15:41:47 -0800
Simply:
read file "path:to:file.txt"
Andrew
:)
On 1/22/04 2:32 PM, "Kurt Godden" <email@hidden> 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.
>
>
>
> -Kurt
>
>
>
> I distrust a research person who is always obviously busy on a task.
>
> -Robert A. Frosch, VP GM Research (retired)
>
_______________________________________________
>
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.
_______________________________________________
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.