Skip to main content

When it is launched

The script runs when a document opens in the document editor (when a new document window opens or you go to a new document). When the script runs, all windows inside the document editor are already created.

Parameters

Closing the document from this script is not allowed. Calling DocumentEditor.TaskWindow.CloseEditorWindow() causes an error.
The call produces the following error: