I am trying to send keystrokes (TAB) a couple of times within an external window from a vb.net program.
- How can I select/activate the window (for example, how would I do it if it's a Word document/ I am actually looking into something a tad more difficult i.e. from SAP, but I will extrapolate from a simpler approach)?
- How do I send the TAB key to (or any other key, like an ENTER)?
- Extending the first question, how can I select a window that just opened (like a pop-up)?
I have tried using HWND processes but I am getting confused as to which id or parameter to use, etc.