The "Match Document Definition" option is not active in the Verification station

Symptoms

In the rich Verification station, the option to match a document definition to a document is inactive (grayed out).

Cause

This happens if the the On Task Window Create event in the Project Properties > Stage Tools > Verification exists. 

Resolution

The following script disables the option to match a document definition manually: 

TaskWindow.MainWindow.MainMenu.Reset();

IMenu oRecognitionMenu = TaskWindow.MainWindow.MainMenu[4].Submenu;

oRecognitionMenu [oRecognitionMenu.Find(TCommandID.CI_ApplyTemplate)].Enable = false;
oRecognitionMenu [oRecognitionMenu.Find(TCommandID.CI_SetDocTemplate)].Enable = false;
oRecognitionMenu [oRecognitionMenu.Find(TCommandID.CI_ReadActive)].Enable = false;

To revert the FlexiCapture functionality back to normal, either delete the "On Task Window Create" event:

mceclip0.png

Or comment out the code by using /* and */
mceclip1.png

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.