Re: Read/Write Text Files
Re: Read/Write Text Files
- Subject: Re: Read/Write Text Files
- From: Michelle Steiner <email@hidden>
- Date: Tue, 30 Mar 2010 20:48:55 -0700
On Mar 30, 2010, at 7:16 PM, red_menace wrote: -- write the data to the file do shell script "touch " & quoted form of POSIX path of theFile -- make sure it is there try set theOpenFile to open for access theFile with write permission set eof of theOpenFile to 0 -- overwrite
You don't need that first line; if the file isn't there, "open for access theFile with write permission" will create it.
-- Michelle
-- There's no place like 127.0.0.1 There's no place like 127.0.0.1 There's no place like 127.0.0.1
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden