文書を開く際に

起動した時

このスクリプトは、文書エディタ(新しい文書ウィンドウを開いたり、新しい文書に移動するとき)で文書を開くと起動されます。

スクリプトが起動されると、文書エディタ内のすべてのウィンドウが既に作成されます。

パラメータ/引数

名前 タイプ アクセス 説明
Context IDocumentEditor 読み取り/書き込み 文書エディタ

注:このスクリプトから文書を閉じることはできません。コマンドの使用DocumentEditor.TaskWindow.CloseEditorWindow();エラーメッセージが表示されます:

"System.Runtime.InteropServices.COMException (0x80004005):文書エディタを閉じられません。

25.05.2023 7:55:11

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.