• 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
Simple question.... writing to file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple question.... writing to file


  • Subject: Simple question.... writing to file
  • From: Bernardo Hoehl <email@hidden>
  • Date: Thu, 10 Feb 2005 10:13:20 -0200

Hi List,


I think this is a simple one. But I can't figure out how.

I have to write a diferent content to an existing text file, and right now, what happens is that when the new content is shorter than the previous content, the tail of the old text remains in the file.

How do I "empty" the content of a text file before writing the new content?

Thanks!

Bernardo Höhl
Rio de Janeiro - Brazil
_______________________________________________
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


  • Follow-Ups:
    • Re: Simple question.... writing to file
      • From: Bastiaan Boertien <email@hidden>
    • Re: Simple question.... writing to file
      • From: Christian Vinaa <email@hidden>
  • Prev by Date: Re: QUOTED posix to HFS path
  • Next by Date: Re: Simple question.... writing to file
  • Previous by thread: Re: Xmail Problems
  • Next by thread: Re: Simple question.... writing to file
  • Index(es):
    • Date
    • Thread