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

# Specifying batch registration parameters in the script

> Add batch registration parameters when sending documents to ABBYY FlexiCapture by editing the Create Batch library script with RegProperty name-value pairs.

The ABBYY FlexiCapture Connector for WinActor lets you specify batch registration parameters when sending documents to FC.

To specify batch registration parameters:

1. Open a workflow in WinActor Office Robot.
2. Open the properties of the **Create Batch** user library.

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

3. On the **Script** tab, replace the "Create batch and start processing" section of the script with the following code:

```
' Set FlexiCapture batch registration parameters.
Set oRegParam0 = CreateObject("Abbyy.WinActor.FlexiCapture.Scenarios.Models.RegProperty")
oRegParam0.Name = "Name_0"
oRegParam0.Value = "Value_0"
Set oRegParam1 = CreateObject("Abbyy.WinActor.FlexiCapture.Scenarios.Models.RegProperty")
oRegParam1.Name = "Name_1"
oRegParam1.Value = "Value_1"
arRegParams = Array(oRegParam0, oRegParam1)
' Create batch and start processing.
nFcBatchId = oFcBatchSender.Send( szFcBatchType, szFcInputFolder, arRegParams )
```

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

This script contains the names and values of batch registration parameters. You can add any number of "name–value" pairs to the script.

Registration parameter values can be used, for example, for [naming export files](/flexi-capture/templates/export-file-naming).
