Re: Making a log file
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!"