• 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: Making a log file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a log file


  • Subject: Re: Making a log file
  • From: Sander Tekelenburg <email@hidden>
  • Date: Thu, 1 Mar 2001 17:27:11 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 10:41 -0500 UTC, on 01/03/2001, Timothy K. Wilkinson wrote:

> [...] How do you make AppleScript return and append a new
> line of information to a text file every time it's used?

This was just discussed in the "Write to file" thread:

write myData to myFile starting at eof

Depending on the previous data, you may see it not start on a new line but
right after the last character. If so, make sure that myData starts with a
return[*], or that everything you write to the file ends with a return.

[*] set myData to return & myData


HTH


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOp54TesywKfXgqKdEQKgYgCeJKi4T+m4zOk6eOaUelfE1ramvlUAnjlQ
PdXOhcyqy+u0AXykfIHS3Zm4
=XEH7
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <mailto:email@hidden>
Web site at <http://www.euronet.nl/~tekelenb/>

Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"


  • Follow-Ups:
    • Re: Making a log file
      • From: Sander Tekelenburg <email@hidden>
References: 
 >Making a log file (From: "Timothy K. Wilkinson" <email@hidden>)

  • Prev by Date: Re: Cumulus Help!
  • Next by Date: Re: Arthur Knapp not being recognized by script object
  • Previous by thread: Making a log file
  • Next by thread: Re: Making a log file
  • Index(es):
    • Date
    • Thread