Running Auto-Import for Image Files and Index Data

You can launch the Scan module to import image files and index data with the following command:

SCAN -i:Path\TxtFileName -w:hWnd –m:MsgID

Where:

-i:Path\TxtFileName
This is the path and file name of the text file that contains the index data and the locations and names of the image files to import.
-w:hWnd
This is the window handle of the application to receive the auto-import is complete message. Specify this parameter in decimal format, rather than hexadecimal.
-m:MsgID (optional)
When the auto-import process is complete, the Scan module sends a message to the window identified by the –w parameter. The messageID number must be specified in order for the message to be returned. Specify this parameter in decimal format, rather than hexadecimal. Windows requires that this number be greater than 1024.

During the auto-import operation, the Scan module sequentially reads the entries in the text file and imports all images into the same batch until a different batch class name is encountered. For example, if the first 50 image files specified in the text file have the same batch class name, all 50 files are placed in the first batch. If the next 25 image files have a different batch class name, those files are placed in a second batch, and so on. If a blank line is encountered in the text file, a new batch is started.