Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Nice, I knew that had to be a better way, I just didn't know what it was though! :) +1 Commented Feb 8, 2017 at 19:24
  • I've accepted this answer as the "Best Answer" because user3439894's answer potentially fails to correctly process certain rich text punctuation symbols and jackjr300's previous answer stipulates that the TextEdit preference for "Format" is set to "Rich text." This answer is free of both issues. Commented Feb 9, 2017 at 3:39
  • @jackjr300 I just realized that your code adds a blank line at the top of the document, but not the bottom. Can you modify your code to add both a top and bottom blank line? Thank you. Commented Feb 12, 2017 at 8:38
  • @jackjr300 Never mind, I figured it out. I changed set myText to return & (the clipboard as string) to set myText to return & (the clipboard as string) & return. Commented Feb 12, 2017 at 20:54