• 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 to create a document?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a document?


  • Subject: Re: How to create a document?
  • From: Mitchell L Model <email@hidden>
  • Date: Sun, 05 Jun 2016 10:54:26 -0400

Here’s a good one. Regardless of whether the resulting document has problems, the followng script at least runs, but transpose its last two lines and it breaks on the last one (setting the text)

	tell application "TextEdit"
		activate
		set doc to make new document
		set the name of doc to "Test17"
		set the text of doc to “ "
end tell



 _______________________________________________
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: How to create a document?
      • From: Phil Stokes <email@hidden>
  • Prev by Date: Re: How to create a document?
  • Next by Date: Re: How to create a document?
  • Previous by thread: Re: How to create a document?
  • Next by thread: Re: How to create a document?
  • Index(es):
    • Date
    • Thread