Re: Save text to file
Re: Save text to file
- Subject: Re: Save text to file
- From: Michelle Steiner <email@hidden>
- Date: Wed, 4 Jan 2006 23:16:47 -0700
On Jan 4, 2006, at 11:10 PM, Michelle Steiner wrote:
On Jan 4, 2006, at 8:40 PM, BigKM wrote:
Thanks mark
exactly what i wanted
I don't know what happened there. I meant to offer this as a
suggestion:
set theText to "this is some sample text."
set theFile to "file.txt"
set thePath to path to desktop as text
set theFilePath to thePath & theFile
set the FileRef to (open for access theFilePath with write permission)
set eof of the FileRef to 0
write theText to the FileRef
close the FileRef
-- Michelle
--
"The past is like a foreign country. They do things differently
there." --Leslie Poles Hartley
_______________________________________________
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