Re: I must be Daft! (creating a new text file)
Re: I must be Daft! (creating a new text file)
- Subject: Re: I must be Daft! (creating a new text file)
- From: John Delacour <email@hidden>
- Date: Mon, 7 Apr 2003 09:54:34 +0100
- Mac-eudora-version: 6.0a14
At 11:28 pm -0500 5/4/03, david wrote:
set newFile to (open for access file FileLoc with write permission)
set eof_text to get eof of newFile
write FileTxt & return to newFile starting at (eof_text + 1)
;; write FileTxt to newFile
close access newFile
This makes no sense. All you need is 'starting at eof'
set fU to "/tmp/junk"
set f to POSIX file fU
repeat with c in characters of "abcde"
open for access f with write permission
write c to f starting at eof
close access f
end repeat
read f
-- JD
_______________________________________________
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.