• 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: file written from scratch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file written from scratch


  • Subject: Re: file written from scratch
  • From: Jack Schwart <email@hidden>
  • Date: Wed, 24 Mar 2010 15:19:31 -0400

On Mar 24, 2010, at 3:00 PM, email@hidden wrote:

>
> Message: 6
> Date: Wed, 24 Mar 2010 11:06:32 +0100
> From: Vittorio <email@hidden>
> Subject: Re: new line when writing to text file
> To: AppleScript List <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
>
> Il giorno 24/mar/2010, alle ore 05.30, Bruce Robertson ha scritto:
>
>> ............................
>> set eof of WorkingFile to 0 -- Overwrites existing file to start from scratch
>> ...........................
>
>
> It looks to me that this command is redundant. In fact, without it, the file is written from scratch all the same.
> Am I right?
>
> Ciao from Rome
> Vittorio
>


Hi Vittorio,

The way it was explained to me, the file will be written from scratch.  However, if the existing file that
will be over-written is longer in content than the new file, any remnants from the original file will
remain.  So you will have the content of the new file with the remnants of the original file tacked on
the end.

Jack
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: quicktime player: make recording ... and save it
  • Next by Date: Copy folder to the root of a server volume
  • Previous by thread: Re: Kai Edwards
  • Next by thread: Copy folder to the root of a server volume
  • Index(es):
    • Date
    • Thread