> ## 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 Task Window Create

> On Task Window Create イベントを使用すると、FlexiCapture のタスクウィンドウが作成されたときにスクリプトを実行できます。このイベントでは、新しいウィンドウが `ITaskWindow` オブジェクトとして渡されます。

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

このスクリプトは、タスクウィンドウが作成されると起動されます。

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

| **名前**  | **型**                                                               | **アクセス**  | **説明**   |
| ------- | ------------------------------------------------------------------- | --------- | -------- |
| Context | [ITaskWindow](/ja/flexi-capture/appendix/scripts-shell/itaskwindow) | 読み取り/書き込み | タスクウィンドウ |
