> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# バッチのオープン時/クローズ時

> ABBYY FlexiCapture の Batch opened/closed イベント用スクリプト リファレンスです。バッチを開いたとき、または閉じる直前に実行されます。

<div id="when-it-is-launched">
  ## 起動タイミング
</div>

スクリプトは、バッチを開くとき、またはバッチを閉じる前に起動されます。

<div id="parameters">
  ## パラメーター
</div>

| **名前** | **型**                                               | **アクセス**                                                                                                    | **説明** |
| ------ | --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------ |
| Batch  | [IBatch](/ja/flexi-capture/appendix/scripts/ibatch) | 読み取り専用。バッチ内のドキュメントおよびページの内部[\*](/ja/flexi-capture/appendix/scripts/batch-opening#asterisk)フィールドにはアクセスできません。 | バッチ    |

<a id="asterisk" />\* - 内部フィールドを利用するには、オブジェクトをメモリにロードする必要があります。
