The AppleScript / JavaScript for Automation scripting dictionary list a R/W template property of the document object, but
- Attempting to read this in AppleScript -> Apple Event Error
- Attempting to read it in JXA -> Apple Event Error
- In omniJS,
document.template
isundefined
, and not listed in API docs
It would be very helpful to fix/create this, and I also wonder whether failing to find a template is what is enabling omniJS to crash OG7 with script-created blank documents ?
macOS OG Version (Test 7.4):
Product: OmniGraffle-7.4.x
Tag:
Date: 2017-06-16 12:37:50 -0700
Builder: omnibuild
Host: tb1010g.private.omnigroup.com
Revision: 290018