Skip to main content
The script editor allows you to write and edit scripts. You can select any of the following scripting languages for your script: VBScript, JScript.Compact, JScript, C#.Net, VisualBasic.Net or JScript.Net. The language you select will remain selected the next time you start the editor.

Check a script

To check a script, you can:
  • Press the F9 key.
  • Click the Check button on the toolbar.
  • Open the Tools menu and click Check Script.
If no errors are found, the Script is correct message appears. If the script contains errors, they will be listed in the error pane. Double-click an error message in the error pane to jump to the fragment with the error in the script editor.
You can save scripts with errors and fix the errors later.
By default, the error pane appears at the bottom of the editor. You can change the size of this pane using the mouse. You can also change its location (see below for details).

Customize the script editor

Use the View menu to customize the appearance of the script editor. The View menu contains the following items:

Add a custom function

To add a custom function, select one of the following global modules in the drop-down list on the toolbar: Script in <object_name\document_definition_name>, Rule Global Script Module, or Export Global Script Module. For more information about scripting in ABBYY FlexiCapture, see Using scripts.
You cannot use RTL languages for text constants in the script editor.
To add RTL text to your script, use one of the following workarounds: