External AppleScript Support for Syntax/Grammar

Would it be possible to get support in Draft’s AppleScript for syntax?

Both setting and retrieving the syntax for a particular draft (including a new draft), and being able to get a list of available (i.e. valid) syntaxes.

While languageGrammar is a property when running AppleScript inside Drafts, it does not look as though there is anything outside Drafts.

1 Like