Rick,
 
I really doubt there will be anything in the UIA set of routines which
allows you to intercept keyboard input.
 
If you want to stop WE from seeing one of it's own hotkeys used for reading,
you can simply register your own hotkey using the same keystrokes, and
you'll get it in your app instead of WE.
 
If you just want to know when someone uses a certain WE hotkey, you can use
the WE application object's onHotKey event.
 
If you want to stop the VS editor from getting this keystroke, (or you just
want to know when the user uses this keystroke) then you'll need to use the
application object's onCursorKey event.
 
hth,
 
Chip
 


  _____  

From: RicksPlace [mailto:ofbgm...@mi.rr.com] 
Sent: Wednesday, May 16, 2012 9:10 AM
To: gw-scripting@gwmicro.com
Subject: UIA Keyboard Input Question


Hi Guys:
I am slogging through a script over the vb.net 2010 target using UIA and WE
ObjectModel.
So far I have worked with AutomationElements with some success.
Now, to fix a WE Reading Error on Solution Explorer I want to watch for a
user to enter a key combination in the Target Application.
I think the Key Object in the WindowEyes ObjectModel performs this function.
I would rather do this in the native UIA Model but can not find what object
or method or anything about monitoring keyboard input from a user in the
many, many docs and articles I have read on UIA so far.I am hoping one of
you Accessibility gurus has pointers or keywords I can use to read up on
this technical.
Thanks:
Rick USA

Reply via email to