Speech recognition interface

<< Click to Display Table of Contents >>

Navigation:  Appendix >

Speech recognition interface

To enable speech recognition WPTools 9.1 and 9.2 (VCL) is able to handle a few RichEdit messages.

 

The support has to be activated using this property

 

WPRichText1.HandleRichEditMsg := true;

 

Further more the speech recognition software must send it's messages to the window the editor uses. Usually it does not do this, unless it detected the window to be compatible. So we included a workaround in unit WPCtrMemo which makes the TWPRichText use the RichEdit name "RichEdit20W". Using this wor around all real Richedit control in the same application will be affected and not work. So please use this with care and at your own risk.

 

But with Dragon Medical Direct (TM) there is a better option:

 

You can edit the file SoD.exe.config and include a mapping for the window class:

 

<TextControlMappings>

                <TextControlMapping Control="RichEdit20W">

                               <WindowClass>TWPRichText</WindowClass>

                </TextControlMapping>  

</TextControlMappings>

 

Please note that we cannot guarantee this functionality.