×
Menu
Index

3.6.2. Scripting - Sample VBScripts

 
Here you will find sample VBScripts to personalize ChronoScan standard behavior.
Many other samples can be found at https://github.com/chronoscan-capture/ChronoScripts
The github samples include:
 
Link
Name
Description
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Conditional%20grid%20row%20delete.vbs
Conditional grid row delete
Delete grid rows based on the desired conditions.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Connecting-to-a-external-DataBase.vbs
Connecting-to-a-external-DataBase
Connect to an external database via vbscript.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Delete%20Page%20by%20Height.vbs
Delete Page by Height
Delete a page of a document based on it's height.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Delete%20a%20document%20using%20a%20script.vbs
Delete a document using a script
Delete the desired document.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Delete%20doc%20button%20code.vbs
Delete doc button code
Use this code on a button to delete the selected document.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Loop%20a%20batch%20and%20pages.vbs
Loop a batch and pages
Loop through all documents and their pages in a Batch.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Loop%20a%20batch.vbs
Loop a batch
Loop through all document in a Batch.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Loop%20a%20data%20grid.vbs
 
Loop a data grid
Loop through all rows in a grid.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Send%20email%20office%20365%20inc%20html%20and%20attachment.vbs
Send email office 365 inc html and attachment
Send an email through an office 365 account with attachments and html format.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Send%20email%20on%20error.vbs
Send email on export error
Send an error email on export error.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Send%20email%20on%20errors%20with%20statuses.vbs
Send an email on export error with status messages
Send an error email on export error with the corresponding status messages.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Send%20email%20status%20of%20export%20errors%20OnExportFinish.vbs
Send email status of export errors OnExportFinish
Send an error email on export using OnExportFinish.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/Split%20address%20lines%20to%20array.vbs
Split address lines to array
Split lines of an address into an array. This is usually the most reliable way to capture addresses and split the different parts.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/del%20expired%20batches.vbs
del expired batches
Delete batches past a certain age.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/parse%20xml%20to%20get%20document%20type%20properties.vbs
parse xml to get document type properties
Get document type properties from the xml config file present in the Types folder.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/write%20or%20change%20text%20file%20onexportfinish.vbs
write or change text file onexportfinish
Write or append to an existing text file after export.
https://github.com/chronoscan-capture/ChronoScripts/blob/master/xml%20parse%20techniques.vbs
xml parse techniques
Different xml parsing techniques.
https://github.com/chronoscan-capture/ChronoScripts/tree/master/working%20with%20global%20lists
working with global lists
Working with ChronoScan's global lists.
https://github.com/chronoscan-capture/ChronoScripts/tree/master/debugging
debugging
Debugging scripts.
https://github.com/chronoscan-capture/ChronoScripts/tree/master/samples_VBScripts
samples_VBScripts
Samples present on this manual.