• 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: Adding to a text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Adding to a text file (From: "Francois Houle" <email@hidden>)

  • Prev by Date: Re: Random character String
  • Next by Date: list to a text representation of that list (followup)
  • Previous by thread: Adding to a text file
  • Next by thread: Re: Adding to a text file
  • Index(es):
    • Date
    • Thread