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

Re: writing data to a file


  • Subject: Re: writing data to a file
  • From: Timothy Bates <email@hidden>
  • Date: Wed, 01 May 2002 09:54:32 +1000

On 1/5/02 2:02 AM, "Kinsella, John R." <email@hidden> wrote:
> I can't seem to figure out how to access and write to a file more than once.
> I can create a new txt file and add data to it once, but after that, I'm
> informed that there is a duplicate file and the script errors out.

Always good too include the 2 or 3 lines you think are the problem.

Sounds like you are creating the file every time you want to write to it
(that is what the duplicate error means).

So, create the file once, then just loop through an open, write, close
sequence repeatedly, or, if it is a pretty tight loop, open , write write
... Close.

tim
_______________________________________________
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.

  • Prev by Date: Re: addressing words between tabs in Xpress
  • Next by Date: Re: Learning Apple Script
  • Previous by thread: Re: writing data to a file
  • Next by thread: Re: writing data to a file
  • Index(es):
    • Date
    • Thread