I am implementing a desktop application in which I want to send an ALT+SPACE key combination but I can’t find any way to do this.
I am implementing this for automatic processing the below tasks:
- enter tracert command in command prompt
- copy the result
- paster the result in the notepad
Can anyone help me with this..?
Try this
Edit
Using
SendKeysis a little ‘hacky’. Instead I’d suggest using the Process class, something like below