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

# Script Editor

> Write and edit scripts in the Scanning Station Script Editor using JScript, VBScript, C#.Net, VisualBasic.Net, or JScript.Net, and check code with F9.

Use the **Script Editor** to write and edit scripts for individual batches or for a group of batches of a certain type.

To open the Script Editor, click the **Edit...** button on the [Scripts](/flexi-capture/scanning-station/shared/interface/batch-type-scripts) tab. To edit a script, use the menu commands or the buttons on the Script Editor toolbar.

## Select a scripting language

You can choose the scripting language for your script:

* **JScript®**
* **VBScript**
* **C#.Net**
* **VisualBasic.Net**
* **JScript.Net**

## Check the script code

To check the script code, do one of the following:

* Click **Check** on the toolbar.
* Select **Check Script** from the **Tools** menu.
* Press **F9**.

## Add a custom function

To add a custom function, click the arrow next to the script name and select **GlobalModule** to create your function in the global module of events or in the global module of export.

## Close the Script Editor

To close the Script Editor, do one of the following:

* Select **File → Exit**.
* Click the **Close** button in the upper-right corner of the window.

For more information about scripts, see [Using scripts in ABBYY Scanning Station](/flexi-capture/scanning-station/scripts-main).
