• 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: How do I append text at the end of a textedit document?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I append text at the end of a textedit document?


  • Subject: Re: How do I append text at the end of a textedit document?
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 10 May 2007 12:35:36 -0700

On May 10, 2007, at 12:18 PM, mac script wrote:

I have created a "textedit" document (make new document at the beginning of

documents with properties {text: "blah.. blah"}). I haven't saved or closed

this.


Immeditely after this I want to append another text say (text:"woh ... woh")

at the end of the document I created above.


How will I do this?


tell application "TextEdit"
set newDoc to make new document with properties {text:"blah.. blah"}
tell newDoc
set its text to its text & " more text"
end tell
end tell


-- 
Help, I've caught a cult, and can't get out!

 _______________________________________________
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

References: 
 >How do I append text at the end of a textedit document? (From: "mac script" <email@hidden>)

  • Prev by Date: get properties of elements of a Class in Applescript - Related to ical
  • Next by Date: GUI scripting menu item with leading spaces
  • Previous by thread: How do I append text at the end of a textedit document?
  • Next by thread: Re: How do I append text at the end of a textedit document?
  • Index(es):
    • Date
    • Thread