• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: TextEdit Save Problem (Thomas Maffucci)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextEdit Save Problem (Thomas Maffucci)


  • Subject: Re: TextEdit Save Problem (Thomas Maffucci)
  • From: "koenig.yvan" <email@hidden>
  • Date: Thu, 24 Jan 2013 23:50:36 +0100


Le 24/01/2013 à 22:55, Christopher Stone <email@hidden> a écrit :

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

Right, this late one works.

Yvan KOENIG (VALLAURIS, France) jeudi 24 janvier 2013 23:49:29



 _______________________________________________
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

  • Follow-Ups:
    • Re: TextEdit Save Problem (Thomas Maffucci)
      • From: Axel Luttgens <email@hidden>
References: 
 >TextEdit Save Problem (Thomas Maffucci) (From: Thomas Maffucci <email@hidden>)
 >Re: TextEdit Save Problem (Thomas Maffucci) (From: Christopher Stone <email@hidden>)
 >Re: TextEdit Save Problem (Thomas Maffucci) (From: "koenig.yvan" <email@hidden>)
 >Re: TextEdit Save Problem (Thomas Maffucci) (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: TextEdit Save Problem (Thomas Maffucci)
  • Next by Date: Re: Writing Mailbox Behaviors
  • Previous by thread: Re: TextEdit Save Problem (Thomas Maffucci)
  • Next by thread: Re: TextEdit Save Problem (Thomas Maffucci)
  • Index(es):
    • Date
    • Thread