How to close a file
How to close a file
- Subject: How to close a file
- From: "Douglas P. McNutt" <email@hidden>
- Date: Tue, 2 Nov 2004 14:58:02 -0700
AppleScript on Mac OS 9.1: Script editor 1.1.3
I have opened an output file using this line.
property logPath : "Ganymede:Documents:commands"
global thelog
set thelog to (open for access file logPath with write permission)
I write a bunch of stuff and the script ends but the file is still open and MPW won't look at the result. The lines:
close file logPath
close thelog
compile OK but fail on execution. Would someone provide the correct syntax? As of now I have to quit the script editor to see my results.
--
--> Halloween == Oct 31 == Dec 25 == Christmas <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden