On Activate Document

When it is launched

The script is launched prior to activating the document in the task window (by a double-click, by using menu commands, etc.).

  • If the CanOpen.Value property is set to true, the document will be opened in the document editor after the script execution.
  • If the CanOpen.Value property is set to false, the document will not be opened.

By default, the value of the CanOpen parameter is true.

Parameters

Name Type Access Description
CanOpen IBoolean Read/write Specifies whether to open the document
Context ITaskWindow Read/write The task window
DocumentItem IDocumentItem Read/write The document being processed

12.04.2024 18:16:02

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.