Steve36445
Well-known member
- Joined
- Dec 23, 2007
- Messages
- 58
- Programming Experience
- 10+
Can you help me please?
I am trying to get a handle to other running applications by ALT-TAB order so that I can send text to the second application in the tab list.
I can list all processes running using
Process.GetProcesses(".")
And bring up a window and change focus to it using
SetForegroundWindow(target_handle)
ShowWindow(target_handle, SW_RESTORE)
Then send text using
SendKeys.SendWait("Hello")
But the list of processes is not in tab order.
I would be grateful for any help
Thanks,
Steve
I am trying to get a handle to other running applications by ALT-TAB order so that I can send text to the second application in the tab list.
I can list all processes running using
Process.GetProcesses(".")
And bring up a window and change focus to it using
SetForegroundWindow(target_handle)
ShowWindow(target_handle, SW_RESTORE)
Then send text using
SendKeys.SendWait("Hello")
But the list of processes is not in tab order.
I would be grateful for any help
Thanks,
Steve