Hi, how to move the focus in an external application to TabIndex 0? Why do I want to do that? I have need put some text in a textbox. When the application is first run, I tab twice (I now see the cursor in the textbox) and I send the text. Next time I send text I don't know what the current TabIndex is. I need to set it to 0 and repeat the tab twice and send the text. Seems like a simple request, but Google failed me big time on this one. As close as I could come was an article showing how to find the handle of the current control with focus in an external application, but it required some crazy cross-threading so I gave it a pass. Any ideas? TIA, Bob.
↧