Writing to a file - overwriting contents
Writing to a file - overwriting contents
- Subject: Writing to a file - overwriting contents
- From: James Burns <email@hidden>
- Date: Sun, 2 Feb 2003 09:02:25 -0500
Hello:
Thanks to everyone for their help on my previous question(s). I've got
one more, probably a simple one...
What's the proper routine for writing to a file to insure overwriting
the contents? I've noticed that just using the write command seems to
start at the beginning of the file and writes for the length of
whatever you're writing. The problem is if your new length is shorter
than the old length.
Is there a common routine using the setoef command to properly
overwrite files?
Thanks again.
-----
James Burns
http://www.jamesburnsdesign.com
_______________________________________________
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.