I am making a Cocoa NSDocument
-based app scriptable. If I try to create a new document with the following AppleScript:
tell application "MyApp" to make new document
a new document is created, but its title is nil. Any ideas on why this would happen and how to fix it?