Anyone have an example of how to send keystrokes such as "Alt-A", etc. to another application using a window handle?
Printable View
Anyone have an example of how to send keystrokes such as "Alt-A", etc. to another application using a window handle?
Find these at vbapi.com:
Check out the FindWindow Function to get a handle to the window, then the BringWindowToTop function to be able to send keystrokes to the window through the API, then keybd_event or SendInput (keybd_event is simpler) to actually send the keystrokes.
________
Bob K