/
Kofax - Launch a Custom Module from Batch Manager

Kofax - Launch a Custom Module from Batch Manager

Applies to

Kofax Capture Version All

Summary

How can I launch a Custom Module from Batch Manager?

Answer/Solution

Custom Modules are registered to Kofax Capture through their ACM/AEX file. This lets Kofax Capture know the executable name of the Custom Module. Any Custom Module that wishes to be launched by Batch Manager, with the selected Batch loaded automatically, must custom code this functionality into the Custom Module.

 

There are two basic items that need to be accounted for in this instance:

  • The call to the Custom Module Application

    The call to the Custom Module application will come as a command line similar to:
    MyCustomModule.exe -B1032 -W104339 -M23423
    This call from the Batch Manager consists of:
    MyCustomModule.exe  -- The executable name.
    -B1032              -- The Batch ID of the selected Batch in the
                           format "-B<Batch ID in decimal format>".
    -W104339            -- The Windows Handle of Batch Manager.
    -M23423             -- The Message ID for the Windows Handle to use.
    The Windows Handle and Message values are used for signaling Batch Manager that the Batch processing is complete. You can use the Windows API to send a message back to the Windows Handle with the corresponding Message ID.

  • Open the Batch

    This is the easy part. Simply look in the BatchCollection for the Batch ID parsed from the command line parameters and open that Batch.

Related content

Kofax - Register a Custom Module with Kofax Capture
Kofax - Register a Custom Module with Kofax Capture
More like this
Installing Unattended Services in Kofax
Installing Unattended Services in Kofax
More like this
Kofax - How to Silently Install a Kofax Capture Workstation Using the .MSI file
Kofax - How to Silently Install a Kofax Capture Workstation Using the .MSI file
More like this
Kofax-Silently install a Capture Workstation/Service Pack/Fix Pack
Kofax-Silently install a Capture Workstation/Service Pack/Fix Pack
More like this
Kofax Capture Batch Removal and Export Utility (backups)
Kofax Capture Batch Removal and Export Utility (backups)
More like this
Kofax - Batch Field Validation
Kofax - Batch Field Validation
More like this

Copyright © CASO Document Management

All product names, logos, brands, and trademarks featured or referred to on this page are the property of their respective trademark holders. These trademark holders are not affiliated with, nor do they sponsor or endorse this website or the products/services offered unless explicitly stated otherwise.