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:
Or comment out the code by using /* and */
Comments
0 comments
Please sign in to leave a comment.