Skip to main content
Custom scripts enable you to create your own scenarios of working with ABBYY Vantage Scanning Station. Some of the typical scenarios are as follows:
  • Placing scanned pages in the correct order after duplex scanning.
  • Auto-split of large-size pages after scanning.
  • Automatic filling in registration parameters for newly created batches and documents.
Scripts can be launched both automatically (in response to certain events) and by an explicit user command.

Supported scripting languages

The following scripting languages are supported: JScript®, VBScript, C#.Net, VisualBasic.Net or JScript.Net.

Specifics of usage

In VBScript it is mandatory to use the keyword “Me” when when referring to methods and fields of a current object (the alternative of “this” in JScript, Workspace in VisualBasic.Net).

Working with collections

All collections support the following properties and methods:
NameTypeAccessDescription
CountintRead-onlyThe number of items in the collection.
Item( index : int )ItemInterfaceRead-onlyRetrieves an item of the collection with the given index.

Enumeration begins with “0”.
Instead of using the method Item you can also address items of the collection using parentheses. For example,
Items( 1 ).Text = "Hello"
If C#.Net is used, the index is specified in brackets:
Items[1].Text = "Hello"
All collections can be used in “for each” and similar constructs.