S
Siegfried Heintze
Let's pretend I have a touch sensitve LCD display and I want to draw the
outline of a standard QWERTY keyboard on it.
How would I write a C# program that would
(1) Detect the application that a main window that has focus
(2) Detect the path and file name of the exe of the program running that
window
(3) Enumerate the menu entries and extract the short cut keys so I may
dynamically display them on my key caps?
Are menu entries just windows? If so, there is a great book called
"Effective GUI Test Automation" that shows how to enumerate all the buttons
and other controls on another running application so you simulate pressing
them. But the author does not address menu entries. Can someone help me
write a program that will interrogate another application for all the menu
entries and extract the short cut keys?
Now how about accelerator keys? Can I write a program to get all the
accellerator keys of another running applications?
Thanks,
Siegfried
outline of a standard QWERTY keyboard on it.
How would I write a C# program that would
(1) Detect the application that a main window that has focus
(2) Detect the path and file name of the exe of the program running that
window
(3) Enumerate the menu entries and extract the short cut keys so I may
dynamically display them on my key caps?
Are menu entries just windows? If so, there is a great book called
"Effective GUI Test Automation" that shows how to enumerate all the buttons
and other controls on another running application so you simulate pressing
them. But the author does not address menu entries. Can someone help me
write a program that will interrogate another application for all the menu
entries and extract the short cut keys?
Now how about accelerator keys? Can I write a program to get all the
accellerator keys of another running applications?
Thanks,
Siegfried