Hi, I was trying to do script for recognizing word's decided dynamically during run-time. I have tried doing it in various ways with no result.
it will work if you say "open one", but it won't for the word added during run-time.
Here is the script:
$oRecoContext = ObjCreate('SAPI.SpSharedRecoContext')
$oMyError = ObjEvent("AutoIt.Error","MyErrFunc")
ConsoleWrite('Error: ' & @error & @CRLF)
$oGrammar = $oRecoContext.CreateGrammar()