Overview

In Kingfisher, the user can execute custom scripts after each file is successfully processed, this gives the user a chance to do some custom post processing on the file input or output files. This gives the user the power to perform any type of operations that are not available in Kingfisher.

We use Windows Script Host (specifically the command line utility CScript) to execute these scripts, below is an example of the command line generated to execute a custom script.

If the Debug option is set on Job Settings you will be able to see the arguments.

cscript  "C:\Aquaforest\Kingfisher\Custom\testarguments.wsf"  ^ 
"/Newfilename:00000006.pdf"  ^
"/Oldfilepath:C:\Aquaforest\Kingfisher\In\invoice_6.pdf"  ^ 
"/TempOutputFile:C:\Aquaforest\Kingfisher\temp\jobs\10012\bb3e649b-6cda-4de4-bd45-c69d12f23227\target\00000006.pdf"  ^
"/TempTarget:C:\Aquaforest\Kingfisher\temp\jobs\10012\bb3e649b-6cda-4de4-bd45-c69d12f23227\target"  ^
"/FinalTarget:C:\Aquaforest\Kingfisher\Out\Split\Text Change"  ^
"/JobSource:C:\Aquaforest\Kingfisher\In" "/LocationType:file"  ^
"/value1:00000006"