CaptureOCR$ Wizard
This wizard specifies the parameters used by the CaptureOCR$ statement.
CaptureOCR$ statement captures a window content. The capture creates an internal bitmap file for the specified window, applies to it the OCR engine and returns back the text as analysed by the OCR engine.
The CaptureOCR$ Wizard dialog box is called by double-clicking this statement in the Language window of WinTask Editor.
Select the OCR engine that the statement will use. The WinTask OCR engine is the one by default. If Microsoft Office 2003 or 2007 is installed on the PC, the MODI (Microsoft Office Document Imaging) OCR engine can be used too and gives usually better results. If the listbox Select the OCR engine does not show MODI, click the How to install MODI link.
Click Capture button. The wizard screen is minimized and the mouse pointer becomes a circle. Click somewhere in the window to capture. When the window content is captured, the wizard screen comes to focus and the Window field displays the name of the captured window.
Click View button to display the text which will be returned by the OCR engine. You can redo the capture after having selected another OCR engine if you are not happy with the OCR results.
Click Options button to display the language used by the OCR engine. This option is valid only for the MODI OCR engine. Leave Default Language unless the window content is not using your Windows native language.
Click Paste into the script button to generate the CaptureOCR$ line in the script. Note that a UseOCREngine line is generated too which tells which OCR engine will be used by the CaptureOCR$ at replay.
See also