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

# On Open Project

> On Open Project は、FlexiCapture でプロジェクトを開いたときに実行され、メインウィンドウ（IMainWindow）が Context Parameter としてスクリプトに渡されます。

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

新しいプロジェクトを開くと、スクリプトが実行されます。

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

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