> ## 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 のユーザースクリプト（カスタムアクション）は、検証中または文書エディターで、オペレーターがfieldに対して実行すると動作します。

<div id="what-it-does">
  ## 機能
</div>

これは、field検証中または文書エディターで field を表示しているときに、ユーザーがトリガーするカスタム スクリプト ルールです。

スクリプトは、field プロパティ ダイアログの カスタムアクション タブで設定します。

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

| **名前**  | **型**                                                           | **アクセス** | **説明**     |
| ------- | --------------------------------------------------------------- | -------- | ---------- |
| Context | [IRuleContext](/ja/flexi-capture/appendix/scripts/irulecontext) | ルール設定に従う | ルールのコンテキスト |

スクリプトで[外部アセンブリ](/ja/flexi-capture/appendix/scripts/user-assembly)のクラスとメソッドを使用する場合は、そのアセンブリ ファイルを *(Developer)* Document Definition のプロパティの .NET References タブでアタッチする必要があります。 *(Administrator)* [Document Definition のプロパティ](/ja/flexi-capture/templates/template-properties)。

<div id="administrator-see-also">
  ## (管理者) 関連項目:
</div>

*(管理者)*  [ユーザー スクリプト](/ja/flexi-capture/templates/properties-custom-action)
