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

How to create a document?


  • Subject: How to create a document?
  • From: Mitchell L Model <email@hidden>
  • Date: Sat, 04 Jun 2016 23:32:14 -0400

This sounds like something completely trivial, but my experiments show it to be  fraught with complications.

All I want to do is create a new document in TextEdit, Script Editor, and Script Debugger. It doesn’t need to be saved, but it is OK if it is saved.

Warning: if you approach this you may find yourself creating documents that can’t be saved or closed, or even backed up. If you do, you can execute a script that does “close front doc without saving”.

I have three lines of code that behave differently in the three applications mentioned above, but I’d rather see a real solution rather than providing my code to be debugged.

See https://discussions.apple.com/message/30269814 for my first attempt at resolving this problem, in the context of TextEdit. (I still haven’t been able to get it to work, despite the help I got on that page.)






 _______________________________________________
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: 2551phil <email@hidden>
    • Re: How to create a document?
      • From: Brian Christmas <email@hidden>
  • Prev by Date: Re: strange behavior setting window index to 1 in Safari
  • Next by Date: Re: How to create a document?
  • Previous by thread: Re: strange behavior setting window index to 1 in Safari
  • Next by thread: Re: How to create a document?
  • Index(es):
    • Date
    • Thread