Re: Adding to a text file
Re: Adding to a text file
- Subject: Re: Adding to a text file
- From: Michelle Steiner <email@hidden>
- Date: Wed, 16 Mar 2005 12:08:50 -0700
On Mar 16, 2005, at 11:21 AM, Francois Houle wrote:
I'm just not sure how to do this, but is there a way with AS to add
text
to the beginning of a .txt file ? I want to append two lines of text
which I as variables to make it easier to type ... Just dobnw know how
to append this text to the beginning of a file, and on two consecutive
lines.
I would read the file, then append the content to the new text (in
memory), reset the EOF of the file to zero, and write the data back to
the file.
-- Michelle
--
"Push to test." (click) "Release to detonate."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden