Re: Writing to an existing file
Re: Writing to an existing file
- Subject: Re: Writing to an existing file
- From: Steven Majewski <email@hidden>
- Date: Fri, 12 Sep 2003 11:45:27 -0400
On Friday, September 12, 2003, at 11:30 AM, Steve Roy wrote:
set theFilePath to (path to desktop as string) & "Test.txt"
set theFileRef to open for access theFilePath with write permission
Change the line above to:
set theFileRef to open for access file theFilePath with write
permission
write "Hello!" to theFileRef
close access theFileRef
( I've gotten bit with that one myself and it was a pretty frustrating
bug
to figure out! )
-- Steve Majewski
_______________________________________________
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.