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

# CaptureData.ums5 シナリオファイルの操作

> WinActor で CaptureData.ums5 シナリオを設定して実行します。FlexiCapture の接続設定、入力画像と Output フォルダーのパスを設定したら、データ抽出を実行します。

WinActor でシナリオを設定するには、次の手順を実行します。

1. **File → New** をクリックします。

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/WinActor_1.png?fit=max&auto=format&n=jk6a9TGm7KRcVxRI&q=85&s=d0471a40a1eeb4d05f390b21c7fc6166" alt="" width="1319" height="541" data-path="images/flexi-capture/connectors/WinActor_1.png" />

2. **Flowchart** ウィンドウで **Library** タブをクリックし、**CaptureData.ums5** シナリオをワークスペースにドラッグ＆ドロップします。

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/WinActor_8_capture-data-flowchart.png?fit=max&auto=format&n=jk6a9TGm7KRcVxRI&q=85&s=ad9bfd2cb0a5baa5060e7489bf3ce061" alt="" width="537" height="593" data-path="images/flexi-capture/connectors/WinActor_8_capture-data-flowchart.png" />

3. フローチャート上の **Capture Data** をダブルクリックして **Property - Run Script** ウィンドウを開きます。**Property - Run Script** ウィンドウで **Settings** タブをクリックし、FC サーバーへの接続に使用する設定、入力文書画像のパス、抽出データの保存先となる Output フォルダーのパス、およびマッチした Document Definition 名を格納する変数を指定します。

<Note>
  上記のパラメーターの指定方法は 2 通りあります。`Value=>MyValue` 構文を使用して直接指定することも、**Variable List** ウィンドウで必要な変数を作成してから、**Property - Run Script** ウィンドウでその変数名を指定することもできます。
</Note>

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/WinActor_12_capture-data-properties.png?fit=max&auto=format&n=jk6a9TGm7KRcVxRI&q=85&s=e2df5fce0c45de54850b1b1f04309dc7" alt="" width="999" height="801" data-path="images/flexi-capture/connectors/WinActor_12_capture-data-properties.png" />

<Note>
  このシナリオを実行する前に、[構成済みの ABBYY FlexiCapture プロジェクトを Application Server にアップロードする](/ja/flexi-capture/connectors/win-actor-configuring-export-from-fc#upload-to-fc-application-server)必要があります。
</Note>

4. 設定したシナリオを実行するには、**Run** をクリックします。

<img src="https://mintcdn.com/abbyy/jk6a9TGm7KRcVxRI/images/flexi-capture/connectors/WinActor_11_run-scenario.png?fit=max&auto=format&n=jk6a9TGm7KRcVxRI&q=85&s=ecda63d1000f4f2cc939b8a3ec0432e0" alt="" width="365" height="152" data-path="images/flexi-capture/connectors/WinActor_11_run-scenario.png" />
