beautypg.com

Kofax DOKuStar Validation User Manual

Page 8

background image

DOKuStar Validation for Ascent Capture

Page

4

Some important remarks:

-

You can (but you don’t have to) publish the batch class before you start writing scripts. This is useful in order to
get test data.

-

It is not necessary to „republish“ the batch after code changes.

-

You can switch to the VBA studio regardless of whether you have a batch open in the DOKuStar Validation or
not.

-

In order to get the code you just entered working, it is often necessary to re-open the batch: Suspend the batch in
DOKuStar Validation and then re-open it. This is especially true when defining new event sinks (see below), or
adding code in the

OnProjectLoaded

event routine.

Besides the main

TheApplication

object, you can add additional modules, class modules and forms. Select the

project, give a right click with the mouse, and choose

Insert

:

You might want to insert new modules or class modules to:

- structure

your

code,

-

re-use modules in different projects.

Note: When you add a

UserForm

, be sure that you will open it

modal

in your scripting code. Modeless forms

are not supported in DOKuStar Validation Scripting.