OK Guys: I ran a test for OnKeyDown and OnKeyUp using kdProcess from my
external, managed code script.
The OnKeyDown and OnKeyUp events seem logged in WEEvent properly but...
No MSAA Events are being executed, or at least logged, and no speech is being
logged or executed from WEEvent upon hitting keys.
This tells me that the Keystroke is likely being trapped in my script but that
the information about the key is likely not leaving my script or not being
passed out of the Managed Code environment back to WindowEyes or the Underlying
Target program.
It might also indicate that WindowEyes is not getting a valid return code and
thus doesnt know what to do with the message so does nothing.
To Ensure my script's Event Handlers are firing I will write a line to a text
file or load an array to print on shutdown if that is even executed when I hit
the computer hard shutdown button.
At least that might tell me that when I hit a key WindowEyes originally
recognizes it and sends my script a message to fire the appropriate handler sub.
I will also use WEEvent to match the results with this last test.
Rick USA