So,, thus far I've determined that I want to have HAL open my application and PREFACE a list of keywords with contextual designations or meaning. In initializing, HAL then interrogates my application to get the protocol for each prefaced application function name. Simple command like SEND and CIPHER are easy because there is no added verbage as input or output except to indicate that the message was sent. Then HAL can parse the dialog looking for complete commands in the input buffer, checking against the structures given by the application when initialized. Hal does not presently do this.
Then HAL must send a parsed command to my application as expected input. Windows handles this.
If the source code of HAL is available or a DLL has been developed for HAL that returns TEXT, then its much like the ancient problem of putting a wedge into the Commodore 64 keyboard input routine. Except that its not DOS anymore. Its Windows receiving keyboard input to HAL, or more preferably returning TEXT that has been recognized by a speech-recognition application working with HAL.
I like to think it would be good to establish a kind of protocol that will allow HAL to interface with all HAL-enabled Windows applications. The GOOD PROTOCOL would permit all developers to use the same object in HAL to extend capabillities for passing commands to opened applications.
What is needed is a dynamic feature to permit definition of PREFACED KEYWORDS for HAL enabled applications. HAL will need to aquire the list of prefaced words (easy) and the set of expected parameters with each application COMMAND or ARGUMENT. A protocol is needed for passing the information to HAL in each instance so that HAL can dynamically acquire the set of definitions.
HAL first reads the set of prefaced words.
It then processes those words that have been prefaced as commands by inquiring to the application whether there is associated other verbage and what kind of interaction is initiated with each command. I need to categorize the possible different COMMAND exchanges and determine a pattern to see if its possible to just articulate in some manner the information in a delimited script of lines.
Studying HAL to see about DLL's and controls.
-C