I would like to send a string to an application from a contextmenustrip. For example, I open Notepad, I open my application, I click the notifyicon from the taskbar, and select an item, I want it to send text (sendkeys.send) to the application that is currently open.
What would be the best way of doing this?
Thanks.
Edit: Simply sending %{TAB} works in all windows versions except Windows 8, and it has to be compaitible.
W8 simply doesn't allow keystrokes to other applications if it is not certified by Microsoft or by Self-Signing.