scripting:api:script-application:on-document-open