How to create a document?
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