I am trying to use Lua to create a method of setting the heading in the fsx autopilot by using a voice command such as "set heading two four zero". I saw a code sample somewhere using Google, but can't find it again.
In any case, the Microsoft voice recognizer engine won't act like the normal dictation engine when it's running inside fsx. It's looking for the phrase "press two" to press a key, followed by "enter".
I want to send a voice recognition phrase, as in "set heading two four zero" and have the recognition engine recognize is as a phrase without requiring any key press strokes.
I have already figured out the code to get and send the variable to the autopilot, but it's the ability to have the engine recognize a phrase that's got me stumped.
Any help would be appreciated.
Thanks