Re: TextEdit Save Problem (Thomas Maffucci)
Re: TextEdit Save Problem (Thomas Maffucci)
- Subject: Re: TextEdit Save Problem (Thomas Maffucci)
- From: Christopher Stone <email@hidden>
- Date: Thu, 24 Jan 2013 15:55:27 -0600
On Jan 24, 2013, at 03:43, koenig.yvan < email@hidden> wrote: I apologize Chris but when I ran it, your proposal fails.
______________________________________________________________________
Hey Yvan,
Whups. I forgot to switch to TextEdit 1.8 from 1.6 (which I use on my machine).
This should work with 1.8.
tell application "TextEdit" set newFile to ((path to desktop folder as text) & "New_File.rtf") as «class furl» set _text to "Here is some sample text." set newDoc to make new document with properties {text:_text} save newDoc in newFile end tell
-- Chris
|
_______________________________________________
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