ChronoScan.exe accepts command-line options to run it unattended or with a specific configuration. The syntax is -key:"value" (quotes when the value contains spaces) or -key without value; always use the colon between key and value.
Configuration and interface
-customdir:"<folder>": use that configuration directory (C:\ProgramData\ChronoScan.Name or a folder with a config.redirect.xml). Without it the default configuration is used.
-usermode: user mode, an operator station without the administration functions. See User Mode.
-custom:"<file.xml>": custom interface (title, hidden tabs and buttons, batch opened at startup). See ChronoScan Personalization.
-openjob:"<job>" -openbatch:"<batch>": open the interface directly on that batch (the batch must exist).
-quickopenbatch:"<job>||<batch>": open the last edited batch, as the start screen does.
-lite and -showsuite: start ChronoScan Lite, or show the menu of the applications of the suite.
Unattended operations
-vbs:"<script.vbs>": run a standalone script with the ChronoApp object (create batches, import, process, export) and exit. Flags: -hide hides the status window, -edit opens the script editor instead of running the script, -open_ui_when_finish leaves the interface open when the script finishes and -open_last_vbs_batch opens the last batch created by the script (only with -open_ui_when_finish).
-hotfolder: start the HotFolder engine (HotFolder Tasks). -service is an old alias.
-taskicon: start the notifications tray icon that shows the HotFolder notifications and opens the finished batches.
-externaldataimport:"<configuration>": run an external data import configuration and exit; "All" runs all of them and "conf1|conf2" several. See External Data Import Window.
-intellitagimport:"<configuration>": run an Intelli-Tag import configuration and exit; "All" or "conf1|conf2" as above. See Intelli-Tag Import Configuration Window.
-rebuild_ai_assistant:"<job>,<type>,<field>": rebuild the vector indexes of the AI Assistants; type is helplists, intellitags or All, and job and field accept All (for example "All,All,All" or "Invoices,helplists,Supplier").
-disableexport:"<module>": skip a specific output module in that run.
-outreport:"<file>": redirect the export report to a file.
-server: server mode (ChronoScan Enterprise).
-<yourkey>:"value": any other parameter is available to the scripts with ChronoApp.cmdline_HasKey and ChronoApp.cmdline_GetValue. See ChronoApp.
Notes
Launch unattended runs from the Task Scheduler, PowerShell or CMD and wait for the process to end; any dialog box (a MsgBox in a job script, an error, a license warning) blocks the run, so replace MsgBox with ChronoApp.AddToOutputWindow in scripts that run unattended.
An interface instance open on the same configuration does not prevent the script, but a batch opened in the interface is locked and the script cannot open it.
A reference script is installed with the product in C:\ProgramData\ChronoScan\ChronoScanAuto.vbs. Scripts must be saved in ANSI/ASCII; for accented characters in job names use ChrW().
The same operations (import, process, export) can be scheduled from inside a job with the Tasks of the Process and Tasks Settings window, without writing any script.
See the ChronoBatch documentation for the parameters of the import modules and the processing stages, and the Scripting Model section for samples.
The contents of 8.3. Executing ChronoScan on Command line