chronoscan capture pro user guide 2013 - digital...

107
ChronoScan Capture Pro User guide 2013

Upload: trinhcong

Post on 01-Apr-2018

221 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

ChronoScan Capture Pro

User guide2013

Page 2: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Table of ContentsChronoScan Capture Applications .........................................................................................................4

Technical Support .............................................................................................................................5How To's & Video Tutorials ..............................................................................................................6

Extracting data from PDF files to CSV/XLS ..............................................................................7Data capture from invoices ......................................................................................................10Fast Field definition mode .......................................................................................................11Complex PDF report data extraction tutorial ...........................................................................12Direct database lookup ............................................................................................................13Document split using IDR ........................................................................................................14

ChronoScan Main Concepts ..........................................................................................................15OCR/ICR – Optical Character Recognition .............................................................................16Barcodes & Patch Codes ........................................................................................................17Jobs ..........................................................................................................................................19Batches .....................................................................................................................................21Inputs ........................................................................................................................................22Outputs .....................................................................................................................................24Documents ...............................................................................................................................25Document Type ........................................................................................................................27Automatic Learning Document Types & Zones .......................................................................28Data Fields ...............................................................................................................................30OCR Zone ................................................................................................................................32OCR Triggers ...........................................................................................................................34

OCR Trigger Properties .....................................................................................................36Capture Grid .............................................................................................................................38

Scanning & Importing Images .......................................................................................................40Job & Batch Creation ..............................................................................................................41Scanning From Twain Scanners ..............................................................................................48Import Files Module window ....................................................................................................50Barcode Reading .....................................................................................................................52Document split using barcodes or PatchCodes ......................................................................55

Processing Batches .......................................................................................................................56Exporting Batches ..........................................................................................................................57

Configure Image & Data Output ..............................................................................................58Conversion Modules Reference ...............................................................................................61Export Modules Reference ......................................................................................................62

CMIS Alfresco Export Module ...........................................................................................63Using ChronoScan .........................................................................................................................68

Batches Panel ..........................................................................................................................69Scripting Model ..............................................................................................................................71

Objects .....................................................................................................................................72ChronoApp .........................................................................................................................73UserField ............................................................................................................................79DocType .............................................................................................................................82ChronoBatch .......................................................................................................................84

Scripting - Sample VBScripts ..................................................................................................89Lookup Fields from an external database using scripts ....................................................90Filling a help list from an external database .....................................................................92Set default field values for detected Document Types ......................................................93Running a vbs script in daemon mode ..............................................................................94Validating a field using an external database ....................................................................95

Page 3: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Executing ChronoScan on CommandLine ...............................................................................96Using command line parameters on VBScript ...................................................................98

ChronoScan Personalization ..........................................................................................................99Keyboard Accelerators Cheat Table ............................................................................................105

Page 4: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

ChronoScan Capture ApplicationsChronoScan Capture allows you to configure advanced applications for document scanning and data capture.

• Multiple OCR engines• Advanced user interface.• Automatic learning of user actions for generating templates for different document types.

The ChronoScan team thanks you for trying or using ChronoScan.

Our main goal is to create the best Scanner Control & Data Input solution in the world and make it accessible toeverybody that needs to input data on a regular basis.

Feel free to contact us with any question or suggestion regarding [email protected]. All e-mails arehuman processed, and you can talk directly with the Development team to ask questions or make suggestions.

Page 5: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Technical SupportThere is a support forum open and free to everybody, here you can ask or find specific questions, not only relatedto ChronoScan but also about image processing, scanning or data input. Registered users also receive a directsupport e-mail to ask questions to the development team.

ChronoScan Support Forum

Page 6: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

How To's & Video Tutorials This section contains How To articles and videos. Also, there is a YouTube channel with videos showing how to use the ChronoScan Forum.

Visit it on ChronoScan Youtube Channel

Page 7: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Extracting data from PDF files to CSV/XLS In this sample video we will show you how to configure ChronoScan to dismount PDF files to a compressibledata file (CSV/XLS). This is our sample document, Text PDF files with multiple pages. We want to extract some fields and all thedetails lines.

For every processed document we want to get a csv file named with the Inv.No: 106673N.csv And with the detail lines:"Invoice Date","Line No","Location","PartNumber","Description","Description_PartNumber","Ordered","B.O.","Supplied","UnitList","Unit Net","GST Code","Total"

Page 8: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

"23/10/2013","1","SS03EA","CP-TLB-35400G","SNORKEL CAP 1HZ L/C DSL 1/92-1/ 07PLAST","1773066010","1","","1","191.81","67.13","10.00%","67.13""23/10/2013","2","RD09AA","CP-TLG-80010RHG","RH F/D VDJ79 L/C UTE 1/07- STD","67001-60650","1","","1","1859.11","743.64","10.00%","743.64""23/10/2013","3","RD01AA","CP-TLG-80010LHG","LH F/D VDJ79 L/C UTE 1/07- STD","67002-60650","1","","1","1859.11","929.55","10.00%","929.55""23/10/2013","4","RB05AA","CP-TLG-80011LHG","LH F/D VDJ79 L/C UTE 1/07- GXL","6700260660","1","","1","1859.11","743.64","10.00%","743.64""23/10/2013","5","RC12AA","CP-TLG-80011RHG","RH F/D VDJ79 L/C UTE 1/07- GXL","6700160660","1","","1","1859.11","929.55","10.00%","929.55"........

Inv No

We are going to use Inv No. to generate the output csv file name.

Date

We want the invoice date on all the extracted lines

Grid Module

You will learn how to configure the grid module for details line capture on multiple pages.

Custom column processing

We will create a custom column to extract data from a multi-line column

Split page rows

You will see how split rows are managed on ChronoScan Video Tutorial:

Page 10: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Data capture from invoices In this video you will see how to configure a multiple invoice type application:

Page 11: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Fast Field definition mode In this video you will see how to create fields using fast creation mode (F9)

Fast creation mode allows you to select the new field name from the OCR text, and create then, the zone.

Page 12: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Complex PDF report data extraction tutorial This video tutorial shows how to extract data from a complex report in PDF format, it uses 3 capture grids.

Page 13: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Direct database lookup A short tutorial of how to configure direct database lookup.

Page 14: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Document split using IDR This video shows how to split documents using IDR (Intelligent document recognition).

Page 15: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

ChronoScan Main Concepts Here you will find a short description of the main concepts of ChronoScan Capture.

Page 16: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

OCR/ICR – Optical Character Recognition

Optical character recognition, usually abbreviated to OCR, is the mechanical or electronic conversion of scannedimages of handwritten, typewritten, or printed text into machine-encoded text. (Wikipedia).

In computer science, intelligent character recognition (ICR) is an advanced optical character recognition (OCR) or,more specifically, a handwriting recognition system that allows fonts and different styles of handwriting to be learnedby a computer during processing to improve accuracy and recognition levels. (Wikipedia)

NOTE: Keep in mind that OCR/ICR doesn't substitute human revision of critical data. Use it as a tool to speed upyour data entry process.

Page 17: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Barcodes & Patch Codes

A barcode is an optical machine-readable representation of data relating to the object to which it is attached.(Wikipedia).

Barcodes are optimized to be safe and quickly readable, use it whenever you can to read the data stored on it.

Patch Codes are a type of Barcode that are commonly used to send commands to the program, such as end ofdocument, number of pages per document, or scan depth change. Which will use PatchCodes to set data for thedocuments scanned after it (for example set document type or other fields to a value).

Read Barcodes fromimages

Page 18: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Read barcodes of any type

Process Captured Data

Set barcode read to input fields, you can validate or split the barcode in multiples fields or even checkit with an external database.

Page 19: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Jobs

A Job in ChronoScan is a set of settings that refer to a specific set of documents that share input data fields,scan settings, and final store destination.

Good samples are Received Invoices, delivery notes from the supplier…

Document Fields for an example Barcode Job:

Jobs also contain Batches (groups of scanned/imported documents):

And Document Types (Templates):

Page 20: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate
Page 21: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Batches

A Batch is a particular instance of a Job, (for example January Invoices, February Invoices and so on) that belongto a received invoice Job.

The job/batch structure is the most used in data entry and scan programs to improve performance and minimizesystem configuration.

Job AIRBUS contains seven Batches:

Page 22: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Inputs In ChronoScan, an Input refers to an input module that adds Images or data to a particular Batch. The standardinputs are:

Import Images, import images from disk files:

Import PDF: import PDF files even if they are text based PDF’s (not images):

Page 23: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

TWAIN Scanner: scan images from any TWAIN compatible scanner or camera.

Image Generator: a simple image generator for training/test porpoises.

Page 24: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Outputs

An output refers to the final destination of the images and data created with ChronoScan, in ChronoScan you definean Output as the format of the exported items plus its final destination (storage). For example: “TIFF files stored tolocal disk”, “PDF files stored to SharePoint Server”, “XML file stored in a FTP server”.

ChronoScan can produce more than one output at the same time when you export a Batch. You can also use thecaptured data to generate file names or directory structures or export it to XML,CSV, ODBC, and other data formats.

Output Converter to PDF Text

Convert documents to PDF Text

Output Converter to PDF Tiff

Convert images to Tiff files

Send converted input (PDFText) to FTP

Gets the documents from the source module (PDF Text) and sends them to FTP

Send converted input (PDF Text) to local disk

Copy converted PDF documents to local disk.

Page 25: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Documents

Documents are a basic structure in ChronoScan, defined as a set of images and input data plus an arbitrarynumber of Data Fields defined by the user.

Documents may or may not have a Document Type assigned - assign a Document Type to a document if youwant ChronoScan to remember OCR zones from it.

OCR Zones for Capture Fields

Extract data from documents to fields using OCR Zones.

Grid OCR Control

Page 26: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Extract line details for documents with the Grid OCR Control

Page 27: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Document Type

Document Type refers to a “Kind of Document”. The kind of document is determined by physical similaritiesfound in those documents. This is done manually, by computer vision algorithms, or OCR triggers. Documenttype will always save its information in the "Collaboration document type" field of the Job. If you want toautomatically recognize types, ensure that you always have one "Collaboration document type" field.

Page 28: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Automatic Learning Document Types & Zones

ChronoScan includes the capability of learn the Document Type based on layout recognition features. Thisadvanced feature allows it to “remember” user actions about this kind of documents, allowing the user to automaterepetitive tasks and improve data input. Every different document type will be assigned to a different templateto customize OCR areas and settings.

Documents recognized as "Document Type 1"

Documents recognized as Type 1 will use Document Type 1

Documents recognized as "Document Type 2"

Page 29: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Documents recognized as Type 2 will use Document Type 2

Page 30: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Data Fields

Data Fields allows the user to assign values to a Document, the data fields can be text, lists, and numbers,amounts or dates. The user can manually enter data on Data Fields, assign a default value or read it from OCRZones or Barcodes.

Data Fields and its values

You can have any number of data fields on ChronoScan.

Data field properties

Page 31: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Allows you to set properties for the data field. You can set data type, set input mask, sticky values andeven program VBScripts to extend ChronoScan capabilities.

Page 32: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

OCR Zone

The OCR Zone is a defined area on a page of a document of known Type; OCR Zones can be Text, Numbers,amounts, or dates.

The data extracted from an OCR Zone can be assigned to a Data Field of the Document

OCR Zone in ChronoScan

Fast Menu for OCR Zone (Right Click)

You can set up OCR Zone basic properties with the context menu, click on Advanced properties to seeadvanced options for the Zone:

Page 33: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate
Page 34: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

OCR Triggers

The OCR Trigger is an action associated with an existing text or regular expression on the document.

Actions for triggers are:

• Split document on Page 1 or last page.• Set Document type based on a text.• Link OCR Zones to floating text positions.• Search fields on multiple pages.

OCR Trigger and its result and action

In this case the trigger is positive (TRUE)

Position Link createdby the trigger

Trigger search something similar to "Invoice No." and create a position reference for OCR Zones. When you reference OCR zones to a floating trigger you will see link arrows indicating the positionreference:

Page 35: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate
Page 36: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

OCR Trigger Properties

Main Trigger Properties

Local OCR

The trigger can work with the Background/Full Page OCR if it exists, in some cases it is better to setOCR local to make OCR only in the zone of the trigger. This will speed up jobs where you need tocapture fields from documents but don't need the full page OCR.

Trigger Conditions

This allows you to control the trigger activation. You can include some words or regular expressions tosearch, when the text or regexp is found, the trigger is activated. You can include different strings/regexp on the same trigger using a semicolon (;) as string separator(ex: NR. 4;NR. 5) Fuzzines mean the error margin you allow for the searched text, 0, means that the strings must beequal, > 0 is fuzzines force, more fuzzines allows more differences on the comparasion.

Page 37: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Trigger actions

This allows you to set the actions for the trigger. You can also set the document type for the documentif the trigger is positive. Main actions are:

• Split Document (this is first page)• Split Document (this is last page)• Create a position reference for OCR zones• Execute a VBScript• Horizontal reference line, (used on grid capture for upper/lower table limits)• Report Splitter (Use on grid capture for multipage-record management)

Trigger options

• Name: name of the trigger• Show on page: set in with pages the trigger is executed.• Execute on Type: allows you to control only if you want this trigger to run on the specified type.• Run on type: works when previous option is set to Execute only on type.• Execute only if this trigger is positive: allows you to link trigger execution with the result of another

trigger.• Trigger Logic: allows you to reverse the trigger logic (ensure that one text doesn't exist)• OCR Local: View point One

Page 38: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Capture Grid

The grid allows to capture and index data from tables.

Capture Columns

Use the grid head to configure the dfferent columns on the grid

Capture Rows

Rows on the grid

Page 39: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Grid Menu

Allows to move and set options of the Grid, basic options are:

• In with pages the grid is used• Triggers to start/end grid• Grid limits

Page 40: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Scanning & Importing Images

Page 41: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Job & Batch Creation1. -The first thing you need to start scanning or import images is to create a batch of a determined Job type.If you don't have any Job type defined, use the Job Wizard to create a new one. Let's look step by step:

2.- On the New Batch Window use the Job Wizard to create a new Job Type:

3.- Insert a Job name that describes the type of job you want to do:

Page 42: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

4.- Select the main options for the Job. If you want to read barcodes from your documents, activate BarcodeReading: to define OCR zones, activate detect document type.

Page 43: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

To select basic options for document split, ChronoScan needs to know where the documents end, the basicoptions are:

• Single Image Documents If your documents are one single image, click on this button. Every imageadded to ChronoScan will be a Document.

• Multi-Image Documents If your documents have more than one image, click here and select one ofthese options:

• Split manually All the pages scanned are inserted into a unique document; you will split thedocuments later on the ChronoScan viewer.

• Split each 'x' images If your documents have all the same number of pages, select this optionand you will be prompted for that number when you click 'next'.

• Split when a valid Barcode is Found Every time ChronoScan reads a barcode it creates anew document; use it if the first page of your document contains a barcode.

• New document On PATCHCODE found If you want to split the documents on Pathcodes,select this option. Print a couple of Patchcodes and insert them between your documents toautomatically split the documents on scan.

Page 44: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

5.- Define the fields for your Job - you can use the default fields or insert your own - thses fields allow you toassociate data to every one of your documents and use it to be exported, name the files, and set metadata/bookmarks on PDF files.

Page 45: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

6.- Finally, define which kind of file format and file destination you want for your documents:

Page 46: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Now you have a Job Type to start to scan and process images, when you click 'finish', you will see the active“Create Batch” button. Click on it to create a new Batch with the name you desire. You can create all theBatches you want with the same Job configuration:

Page 47: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate
Page 48: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Scanning From Twain Scanners

Start Scan button

Start to capture images from the selected scanner.

Setup Scanner button

Allows you to configure the selected scanner

Select Source button

Used to change the twain source (active scanner)

Page 49: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Always Create New Document at Start Scanning button

Allows you to create a new document every time you start a new scan.

Transfer Mode

• Native mode is a very compatible mode.• File mode is a faster twain mode, but will not work with some scanners

Page 50: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Import Files Module window

Import configuration

Page 51: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Input configurations can be saved with different names, and allow you to configure your input options.

Import: "tiff images import" button

Click on Import to start importing images to ChronoScan

Explore: c:\temp\ button

This button will open a file explorer on the current input directory.

Page 52: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Barcode Reading

ChronoScan allows you to capture barcodes from the imported images. Click on "Barcode Read"->"Activatebarcode read" to set up basic barcode options.

Barcode Type and length

Page 53: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Select the barcode types you want to read and set the length of the barcode

Sample read barcode

Show the value and the read barcode type

Image processing allows you to optimize barcode reading

Set options to improve recognition rates.

Barcode Actions

Allows you to set up basic actions when you find a barcode.

Read area

Page 54: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Allows you to set a custom read area for the barcode

Page 55: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Document split using barcodes or PatchCodes

You can use PatchCodes or Barcodes to split your documents. Keep in mind that PatchCode and barcodesplitters are deleted after read. If you want to preserve the splitter image use "Barcode Read" options instead ofDocument Split. A PatchCode is a page with an optimized barcode that allows you to split your documents or execute actionswhile scanning:

Usually, you will print a big set of PatchCodes and insert them between your pages to tell ChronoScan where thedifferent documents start. Also you can use a custom barcode with a specific value to act as a document separator.

Page 56: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Processing Batches This section will cover all the processing topics.

Page 57: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Exporting Batches Exporting Batches is the process of converting and sending the documents and data on ChronoScan to its outputdestination. Conversion Module

This kind of module converts images or data to a specific file Format. For example, you can scan tiff images,but you want to generate PDF text files.

Export Module

Get the result of an Output Converter and send it to a specific destination such as disk files, Sharepoint Serveror Cloud Server (Google docs, Dropbox…)

Page 58: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Configure Image & Data Output

When you finish scanning or processing your Batch , you want to get the result. This is done through theExport Batch button on the main ribbon, or in the small CD on the Batches Panel:

When you click Export Batch on the ribbon, you will see the Execute output window. In this window you canconfigure ChronoScan to produce your desired output. You can link any number of modules to get your results. For example, you can create a configuration thatconverts to TIFF and PDF and sends the TIFF to Alfresco, and the PDF to GDrive and local disk.

Page 59: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Ouput is managed with two kind of modules: Conversion Modules: Convert your batch images and data to a determined format. Typical formats are: For images and OCR:

1. Pdf with Searchable Text2. Pdf3. Jpeg4. Tiff images5. ...

For data: 1. XML Format2. TXT or CSV Format3. Send data to external database (through ODBC) Keep in mind that you can add specific configuration for every conversion in the export. For example, you canexport your images to PDF with two different resolutions. Output Modules: Get the result of the conversion module and send it to a final destination. Typical final destinations are:

1. FTP2. Local or network hard drives3. Sharepoint (tm)4. Alfresco5. CMIS Servers6. Google Drive

Add a conversion and output module

This option will show a wizard that allows you to select a conversion format plus an output module andadd both to the current configuration.

Link a conversion or output moduleto the selected module

This option allows you to link a conversion or an output module to the selected module..

Modules in the Job output

Page 60: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Here you can select the modules on the Output configuration. When a module is selected the modulespanel shows its preview and options.

Save button

Allows you to manually save changes made to the output configuration.

Page 61: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Conversion Modules Reference This section includes reference for any of the conversion modules.

Page 62: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Export Modules Reference This section includes reference for any of the export modules.

Page 63: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

CMIS Alfresco Export Module

CMIS Module allows ChronoScan to export processed files and metadata to any CMIS compatible server, likeAlfresco or FileNet, for a complete list of CMIS compatible modules see: CMIS Servers (Wikipedia) The CMIS module configuration is availaible on the Execute output utility:

Page 64: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

CMIS Connect Information

Set the URL of your CMIS repository and your connection credentials.

Server Explore

Allows you to check the connection to the CMIS / Alfresco server and select the main output folder.

Document destination

This section allows you to set the final document/records destination. ChronoScan will try to create thefull Path if it doesn't exist. You can nest all the levels you want. Select the variables you want to use togenerate the destination of your documents. You can also set the type of uploaded documents with Set ObjectTypeId. Make sure to use a valid IDtype using the CMIS Workbench.

Metadata asignment

Page 65: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

This section allows you to set the metadata of the uploaded document, add all aspects/properties youwant, and assign the values using the variables Wizard (Click on the ... button that appears when youedit one of the fields).

Use the Add Property/Aspect buttons to add new items. Note for Alfresco users: If you are going to upload metadata in another format than text, you should use the type cast qualifieron ChronoScan, the types that need cast are:

• date• int• long• decimal

To use the cast qualifier, write the data type before the value plus with a colon ":" Example: dynamic:property16 date:%docfield.Capture Date%

CMIS Workbench We recommend the Apache Chemistry (TM) CMIS Workbench to explore your CMIS server, with the CMISworkbench you can view your document types, properties and aspects as they are exposed to CMIS. Apache Chemistry download page Login Page:

Page 66: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

CMIS Workbench application:

Page 67: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate
Page 68: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Using ChronoScanThis topic will cover user interface help

Page 69: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Batches Panel

The Batches panel allows you to view all your Batches and their status with an bird's eye view. It also allowsyou to execute operations in selected batches at the same time. Click on the column's name to sort by specific column. Use Ctrl+Click to select more than one batch.

Batches Toolbar

From Left to Right:

• Open Batch• Process selected batches• Export selected batches• Delete selected batches

Page 70: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Batches Columns

From Left to Right:

• Batch status when in process.• Job: name of the Job for the Batch.• Batch: batch name.• Modified: last modified date of the Batch.• Number or images of the Batch.• Number of documents in the Batch.• Number of errors in the batch.• A green check mark when processed OK or a warning on process errors.• A green check mark when exported OK.

Selected Batch Summary

Shows the batch summary

Export Reports

Click on the magnifier to view details of the executed export and review the output.

Page 71: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Scripting Model This section includes the documentation for all the available Objects for the VBScripting of ChronoScan.

Page 72: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Objects Scripting Objects

Page 73: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

ChronoApp Allows you to access to the ChronoScan application object. Methods: ReturnsMethodDescriptionStringGetVariableValueParameters:Stringvariable-RequestedvariabletoChronoScan,forexample"station_id" YoucanseeacompletevariablelistinthevariableswizardwindowofChronoScan. Returnvaluefortheselectedvariable.voidAddToOutputWindowParameters:Stringvalue-AddthestringtotheChronoScantracewindow.

Page 74: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

ADO.ConnectionCreateAdoDBConnectionParameters:connectString-ADODBStringconnection.TakealookatthisgoodarticlebyCarlosAntollinitoconfigureyourDSN.usrId,optionalusernameifyoudon'tsetitonyourDSNusrPwd,optionalpasswordifyoudon'tsetitonyourDSN. Returnsaconnectiontoadatabase,ChronoScanwillmaintain

Page 75: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

thisdatabaseopenforyou,don'tcallmydb.CloseADO.ConnectionGetChronoScanDBConnectionParameters:name-NameofthedatabaseconnectionontheChronoScandatabasemanager. usrId,optionalusernameifyoudon'tsetitonyourDSNusrPwd,optionalpasswordifyoudon'tsetitonyourDSN. Returnsaconnectiontoadatabase,ChronoScan

Page 76: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

willmaintainthisdatabaseopenforyou,don'tcallmydb.CloseChronoBatch CreateBatchCreateanewBatch:StringJobNameStringBatchNameorblanktousedefaultname Ifbatchnamealreadyexistitisreturned.Stringcmdline_GetValueParameters:StringKeyName,thenameofthekeytoberetrieved Returnsthevalueofthecommandlinekey.

Page 77: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Ex: ChronoScan.Exe-vbs:"testscript.vbs"-mykey:"c:\myprocdir" ChronoApp.AddToOutputWindow"Myprocessdiris"&ChronoApp.cmdline_GetValue("mykey") SHORTcmdline_HasKey Parameters:StringKeyName,thenameofthekeytobecheck Returns1ifthekeyexistonthecommandline,or0elsewhere. SHORTcmdline_HasVal Parameters:StringKeyName,thenameofthe

Page 78: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

keytobecheck Returns1ifthekeyexistandhasvalueonthecommandline,or0elsewhere.

Page 79: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

UserField You will receive one UserField object for every user field in your job when personalizing document Scripts. Properties: TypeMethodDescriptionStringValueAllowsyoutosettheuserfieldvalueboolValidateStatusSetitto1or0:

• 1meansthatthevalueofthisfieldiscorrect

• 0meansthatthevalueofthisfieldisincorrect

Keepinmindthatscriptvalidationoverridesnormalappvalidationrules.

Page 80: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

voidValidateMessageMessagetoshowtotheuserwhenthevalueofthefieldisincorrect. Methods: ReturnsMethodDescriptionshortValidateForcethedocumentto"revalidate",forexampleforcalculatedfields.voidSetDefaultValueParameters:Stringvalue-Newdefaultvalueforthefield.shortHelpList_AddValueParameters:String-Valuetoaddtothelist

Page 81: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Returnvalueindex

Page 82: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

DocType You will receive one DocType on your script when personalizing document Scripts. Methods: TypeMethodDescriptionvoidRenameTypeParametersnewname-Thenewnameforthetype Renamethecurrenttype.voidSetFieldDefaultValueForTypeParametersfieldname-Nameofthefieldvalue-Valueforthefieldwhenthistypeisset. Setdefaultfieldvalueforthistype.ThsesvalueswillbesetwhentheDocument

Page 83: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Typeisassignedormanuallysettoadocument.

Page 84: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

ChronoBatch Allows you to access to the ChronoScan application object. Methods: ReturnsMethodDescriptionlongGetDocCount Parameters:

StringGetNameReturnBatchNameStringGetJobNameReturnJobNameShortExecuteInputModuleParameters:modname:

• image_files(importimagefiles)

• pdf_files(importPDFfileswithtextextractionandimageconversion)

modparams:

• ConfigName#parameter=value#parameter=value

Allowedparametersofpdf_filesmodule:

• directory=c:\temp

• extensions=*.pdf

Page 85: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

|onlythisfile.pdf|*.pdf;*.pdfx

• finddirs=true|false

• textread=true|false

• pagestoextract=

• extracmode=0(images)|1(converttoimage)

• resolution=96|120|150|200|300|400|600

• colortype=0(blackandwhite)|1(color)

• splitonfile=true|false

• splitondir=true|false

• orientateauto=true|false

Page 86: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

• deleteonimport=true|false

• renameimportfile=sav

• movetofolder=<c:\process_folder>or<\process_folder>

• for_fast_text_processing=1(speeduptextextraction,warning:settingthisparameterto1meansthatimagequalitywillbelower)

• debug=1(allowstoviewtheimportoptionsbeforeimport)

Allowedparametersofimage_filesmodule:

Page 87: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

• directory=c:\temp

• filename=*

• extension=*

• finddirs=true|false

• splitonfile=true|false

• splitondir=true|false

• importfromlastfile=true|false

• deleteonimport=true|false

• renameimportfile=sav

• movetofolder=<c:\process_folder>or<\process_folder>

• debug=1(allowstoviewtheimportoptionsbeforeimport)

Page 88: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

ShortExecuteProcessParameters:operations:

• CROP• DESKEW• OCR• PRETRIGGERS• TYPEDETECT• FIELDREAD• XGRIDREAD• • EXPORTBATCH• BEEP• SENDMAIL

Use ;toexecutemorethanoneoperationatonce(ex:DESKEW;OCR)IfemptywillusetheconfiguredoptionsontheBatch.ShortSaveSaveChangesontheBatchShortDeleteAllDocuments EmptytheBatch

Page 89: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Scripting - Sample VBScripts Here you will find sample VBScripts to personalize ChronoScan standard behavior.

Page 90: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Lookup Fields from an external database using scripts

This sample will search the Document_Type on an external database and lookup 2 fields, if the value doesn'texist it will set the field to error status.

Right Click with the mouse on the field and click on "Advanced properties"

Set the script for the OnValueChanged event

Dim SQLString ' Create a database connection,Set MyDB =ChronoApp.CreateAdoDBConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Dbs\suppliers.mdb;Persist Security Info=False;", "", "")

Page 91: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

' Build your SQL QuerySQLString = "Select * from Suppliers where SupplierName = '" &UserField_Document_Type.value & "'" Set rsCustomers = MyDB.Execute(SQLString) If Not rsCustomers.EOF Then

' Action when the searched value existUserField_AccountRef.value = rsCustomers.Fields("AccountRef")UserField_NominalCode.value = rsCustomers.Fields("NominalCode")UserField_TaxCode.value = rsCustomers.Fields("TaxCode")

' Validate the FieldsUserField_Document_Type.ValidateStatus = 1UserField_AccountRef.ValidateStatus = 1

Else' Set field validation to errorUserField_Document_Type.ValidateStatus = 0UserField_AccountRef.ValidateStatus = 0UserField_AccountRef.ValidateMessage = "Supplier doesn't exist On the remotedatabase"

End If

Page 92: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Filling a help list from an external database This sample script shows how to fill a helplist on ChronoScan using an external dabase: Dim SQLString Set MyDB = ChronoApp.CreateAdoDBConnection("Provider=Microsoft.ACE.OLEDB.12.0;DataSource=C:\my_dbs\suppliers.mdb;Persist Security Info=False;", "", "") SQLString = "Select * from Suppliers Order By SupplierName" Set rsCustomers = MyDB.Execute(SQLString) UserField_Document_Type.HelpList_Clear() Do While Not rsCustomers.EOF UserField_Document_Type.HelpList_AddValue( rsCustomers.Fields("SupplierName") ) rsCustomers.MoveNextLoop UserField_Document_Type.HelpList_Populate()

Page 93: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Set default field values for detected Document Types This sample script allows you to set a default value for your fields when a Document Type is assigned ordetected. Dim SQLString ' Connect to the databaseSet MyDB = ChronoApp.CreateAdoDBConnection("Provider=Microsoft.ACE.OLEDB.12.0;DataSource=C:\Dbs\suppliers.mdb;Persist Security Info=False;","","") SQLString = "Select * from Suppliers where AccountRef = '" &UserField_Document_Type.value & "'" ' Search a value based on the document typeSet rsCustomers = MyDB.Execute(SQLString) If Not rsCustomers.EOF Then

UserField_AccountRef.value = rsCustomers.Fields("NominalCode")' This will set a new default value for the field AccountRef for the currentDocument Type.CallDocumentType.SetFieldDefaultValueForType("AccountRef",UserField_AccountRef.value)

End If

Page 94: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Running a vbs script in daemon mode This example shows how to setup an vbs script to run some code in an infinite loop: Define this helper function on your VBS, this trick command ensure you a minimal cpu usage while sleeping: Sub subSleep(strSeconds) ' subSleep(2) Dim objShell Dim strCmd If strSeconds <= 1 Then strSeconds = 2 End If set objShell = CreateObject("wscript.Shell") strCmd = "%COMSPEC% /c ping -n " & strSeconds & " 127.0.0.1>nul" objShell.Run strCmd,0,1End Sub ' Enclose your main betwen a Do Loop x = 1 Do

' Execute your tasks here.....ChronoApp.AddToOutputWindow "Executing Steep " & x subSleep 5 ' in seconds

x = x + 1

Loop

Page 95: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Validating a field using an external database Add this script to the OnValueChanged property: Set MyDB = ChronoApp.GetChronoScanDBConnection("MyDatabase", "", "") ' Build your SQL QuerySQLString = "Select * from Suppliers where AccountRef = '" &UserField_Document_Type.value & "'" Set rsCustomers = MyDB.Execute(SQLString) If Not rsCustomers.EOF Then UserField_Document_Type.ValidateStatus = 1Else UserField_Document_Type.ValidateStatus = 0 End If Notes:MyDatabase - A database connection created on the adminitration tabSuppliers - The table on the remote databaseAccountRef - The column on the remote databaseUserField_Document_Type - The script name of the ChronoScan field you want tovalidate.

Page 96: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Executing ChronoScan on CommandLine ChronoScan PRO allows users to execute the program on CommandLine mode (only licensed versions): CommandLine options: Execute a ChronoScan VBScript automation process:

-vbs:"<path to VBScript File>"

Flags for vbs Mode:

-edit Show the Script Edit Window

-hideHide the ChronoScan console Window

-open_ui_when_finishOpen user interface when finish

-open_last_vbs_batchOpen last opened/created batch on ChronoScan UI (only work when open_ui_when_finish ispresent)

With the Scripts you are able to execute the most commons operations of ChronoScan without need of userintervention, for example, import images on a hotfolder, OCR files and export to Alfresco. You will find automation documentation and samples on the Scripting Model Section. Basic automation example: Import tif files, OCR them and execute export to Alfresco: Function ProcessFolderFiles() ChronoApp.AddToOutputWindow "Running On " & ChronoApp.GetVariableValue("station_name") Set Batch = ChronoApp.CreateBatch("OCR TO ALFRESCO", "NEW BATCH NAME") ChronoApp.AddToOutputWindow path & " \ " & file If Batch Is Nothing Then MsgBox "Error creating Batch" Exit Function End If ChronoApp.AddToOutputWindow "Batch " & Batch.GetName() & " Created" ChronoApp.AddToOutputWindow Batch.GetDocCount() & " Documents" If Not Batch.GetDocCount() = 0 Then' Empty the batch if already has documents Batch.DeleteAllDocuments() ChronoApp.AddToOutputWindow Batch.GetDocCount() & " Documents" End If ' Import documents on folder "c:\import". If Batch.GetDocCount() = 0 Then

Page 97: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Batch.ExecuteInputModule "pdf_files", "PDF document import#directory=c:\import#extensions=*.pdf" End If ChronoApp.AddToOutputWindow Batch.GetDocCount() & " In process" If Batch.GetDocCount() = 0 Then ChronoApp.AddToOutputWindow "Nothing to Do" Exit Function End If Batch.ExecuteProcess "DESKEW;" ' OCR images Batch.ExecuteProcess "OCR;" ' OCR images Batch.ExecuteProcess "FIELDREAD;" ' Read OCR fields (if any) Batch.ExecuteProcess "EXPORTBATCH;" ' Execute the current output configuration Batch.ExecuteProcess "SENDMAIL;" ' Send a report to the administrator email ChronoApp.Clean() ' JobEnd End Function Call ProcessFolderFiles

Page 98: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Using command line parameters on VBScript(since v61 and greater) ChronoScan allows user to access command line parameters from the VBScript, this allows the user to usecommand line to personalize tasks. Use this function of the main object ChronoApp to access command line: cmdline_GetValuecmdline_HasKeycmdline_HasVal click here for further view Examples: Executing import from in a custom directory: ChronoScan.exe -vbs:"myscript.vbs" -workdir:"c:\myworkdir" myscript.vbs: WorkDir = ChronoApp.cmdline_GetValue("workdir")...Batch.ExecuteInputModule "pdf_files", "PDF document Import#directory="&workdir... Checking if a key exist: ChronoScan.exe -vbs:"myscript.vbs" -workdir:"c:\myworkdir" -scansubdirs...WorkDir = ChronoApp.cmdline_GetValue("workdir")If ChronoApp.cmdline_HasKey("scansubdirs") Then

' Activate debug modeBatch.ExecuteInputModule "pdf_files", "PDF document Import#directory="&workdir&"debug=1"

ElseBatch.ExecuteInputModule "pdf_files", "PDF document Import#directory="&workdir

End If...

Page 99: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

ChronoScan PersonalizationNeed v1.0.0.61 or greater (licensed versions) ChronoScan allows to customize his user interface through the use of a custom XML file, this allows to simplifythe user interface for end users. To run ChronoScan using the custom initialization file specify this parameter on the command line:

-custom:"your path to custom xml.xml" Your path can be a local file or an http source to simplify customization of network running. KeyDescriptiongeneral/apptitleAllowstochangetheapplicationtitle

general/showloginvalues:true|falseAllowstoavoidtheloginscreen

general/loginuseroptionalChronoScanuser

general/loginpasswordoptionalChronoScanpassword

general/usermodevalues:true|falseRunChronoScaninusermode(true)oradministratormode (false)

general/input_module_activeemptyorINPUTMODULES_FILESor

Page 100: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

INPUTMODULES_FILES_PDForINPUTMODULES_DEMOIMGSorINPUTMODULES_TWAINoptionalSpecifythedefaultinputmodule

general/input_module_showonlyemptyorINPUTMODULES_FILESorINPUTMODULES_FILES_PDForINPUTMODULES_DEMOIMGSorINPUTMODULES_TWAINoptionalAllowsonlytoselectthespecifiedmodule

splash/showlogooptionalPathtoalogotoshowonthesplashscreen.

actions/openbatchparameters:job="JOBNAME"batch="BATCHNAME"optionalAllowstoopenabatchdirectly

tabs/scan_tabparameters:show="true"|"false"optionalShoworhide

Page 101: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

thescantab

tabs/index_tabparameters:show="true"|"false"optionalShoworhidetheindextab

tabs/admin_tabparameters:show="true"|"false"optionalShoworhidetheadministrationtab

ribbonparameters:show_ids="true"|"false"optionalWhentruerunChronoScaninaspecialmodethatshowbuttonid'sonhislabel/tooltip

ThebuttonId

Page 102: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

isontheleft,ifthebuttonisalreadyhidden,thehiddentagisadded.Usethebottonidonthehide_controlnodestohidebuttons.

ribbon/hide_controlparameters:id="1560"Hidethespecifiedcontrolid(seeprevsectiontofindbuttonid's)

panels/resettodefaultResetpanelconfigurationtodefaultseverytypetheapplicationisrun. Sample customization file:

Page 103: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

<?xml version="1.0" encoding="utf-8"?> <chrono_custom version="1"> <general> <apptitle>Your app title</apptitle> <showlogin>false</showlogin> <loginuser>ChronoScan user</loginuser> <loginpassword>user passord</loginpassword> <usermode>true</usermode> <!-- input_module_active = empty or INPUTMODULES_FILES or INPUTMODULES_FILES_PDF or INPUTMODULES_DEMOIMGSor INPUTMODULES_TWAIN --> <input_module_active>INPUTMODULES_TWAIN</input_module_active> <!-- input_module_showonly = empty or INPUTMODULES_FILES or INPUTMODULES_FILES_PDF orINPUTMODULES_DEMOIMGS or INPUTMODULES_TWAIN --> <input_module_showonly>INPUTMODULES_TWAIN</input_module_showonly> </general> <splash> <showlogo>path_to_custom_logo.png</showlogo> </splash> <actions> <openbatch job="Your job name" batch="Your batch name"/> </actions> <tabs> <scan_tab show="true"/> <index_tab show="true"/> <admin_tab show="false"/> </tabs> <ribbon show_ids="false"> <!--show_ids=Show the ids of the buttons for customization mode--> <!--hide_control=hide/disable the control id--> <!--desc is only for information in this xml--> <!-- "_" before id number, ignore this id--> <hide_control id="1674" desc="Scan/Imput - BATCHES Panel"/> <hide_control id="1151" desc="Scan/Imput - New Batch"/> <hide_control id="1125" desc="Scan/Imput - Open Batch"/> <hide_control id="_1608" desc="Scan/Imput - Export Batch"/> <hide_control id="1127" desc="Scan/Imput - Delete Batch"/> <hide_control id="1158" desc="Scan/Imput - Close Batch"/> <hide_control id="1531" desc="Scan/Imput - Document Split"/> <hide_control id="_1489" desc="Scan/Imput - Process selection"/> <hide_control id="1550" desc="Scan/Imput - Barcode read"/> <hide_control id="1563" desc="Scan/Imput - OCR Read"/> <hide_control id="1437" desc="Scan/Imput - Document types"/> <hide_control id="1147" desc="Scan/Imput - Search"/> <hide_control id="_1170" desc="Scan/Imput - View Doc. titles"/> <hide_control id="_1192" desc="Scan/Imput - Actions"/> <hide_control id="1316" desc="Scan/Imput - Options"/> <hide_control id="1638" desc="Scan/Imput - Task and Process"/> <hide_control id="57643" desc="Scan/Imput - Undo"/> <hide_control id="1625" desc="Scan/Imput - Change user"/> <hide_control id="_1452" desc="Scan/Imput - Search help"/> <hide_control id="1560" desc="Scan/Imput - License manager"/> </ribbon>

Page 104: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

<panels> <resettodefault>true</resettodefault> </panels></chrono_custom>

Page 105: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Keyboard Accelerators Cheat Table On the Scan/Input View

KeyFunction

YToggleviewTitlesmodeSpaceBarToggleselectiononfocusedItemCtrl+Q

ClearSelection

Ctrl+A

SelectAllItemsRRotateSelectedItemsCounter-Clockwise(Left)TRotateSelectedItemsClockwise(Right)XSelectedItemsbecomefirstpagesofnewDocumentsDelDeleteSelectedItemsWMoveselectiontotheleft,

Page 106: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

addingtothepreviousdocumentifnecessaryRMoveselectiontotheright,addingtothenextdocumentasfirstpageifnecessaryCChangeMouseMode(rotate,split,delete…)

On the Grid and on the Input Form

KeyFunction

Ctrl++

Zoom Width

Ctrl+-

ZoomHeight

Ctrl+9

ZoomTopimageareaCtrl+6

ZoomMiddleimagearea

Page 107: ChronoScan Capture Pro User guide 2013 - DIGITAL FILEdigitalfile.net/ChronoScanFiles/Doc/ChronoScan_Documentation.pdf · ChronoScan Capture Applications ... captured data to generate

Ctrl+3

ZoomBottomimageareaCtrl+7,8,4,5,1,2

Zoomondifferentareasoftheimagebasedonitscorrespondencewithlocationonnumberpadlayout(tryit!)TABNextFieldShift+TABPreviousFieldReturnNextFieldPagUpNextdocumentPagDownPreviousdocument