> ## 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.

# プロジェクトが閉じられたとき

> FlexiCapture シェル スクリプト用の On Project Closed イベント リファレンス: ユーザーが確認ダイアログで確定し、プロジェクトを閉じる処理が完了すると一度だけ発生します。

<div id="when-it-is-launched">
  ## 実行されるタイミング
</div>

このスクリプトは、ユーザーが確認ダイアログで操作を確認した後 (ダイアログが表示された場合) 、プロジェクトを閉じる処理の完了時に実行されます。

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

| **Name** | **型**                                                               | **アクセス**  | **Description** |
| -------- | ------------------------------------------------------------------- | --------- | --------------- |
| Context  | [IMainWindow](/ja/flexi-capture/appendix/scripts-shell/imainwindow) | 読み取り/書き込み | メインウィンドウ        |
