beautypg.com

The process document function – Kofax INDICIUS 6.0 User Manual

Page 74

background image

Chapter 5

68

Getting Started Guide (Free-Form)

this window will display again. The functions requiring replacement can
then be selected using the check boxes and then re-inserted.

4

Click OK to insert all the script functions.

5

Save the script.

The Process Document Function

A process_doc function will be created which calls each of the other functions. If this
function already exists, the code will be inserted into the current function. The
inserted code should never need updating as it is independent of the searches being
run. The code should not be edited. However, it is possible to re-insert it by selecting
the “Insert/Update Process Search Functions…” menu option and selecting only the
Process Document function in the window.

This function is called by Recognition and the function name (process_doc) should
not be changed.

The code entered is shown below. If any error occurs process_doc is set to -1 to
indicate an error and the function is exited. The batch will not be processed any
further.