I want to write an application (C# would be best, other are also welcome) that works in the background in Windows/Linux, but is able to put characters in inputs and textareas of currently active window, in applications like Notepad, Browser URL Address and so on. How is this possible?
+4
A:
Take a look at the SendKeys class. This should handle your situation.
Edit: If you want a Java solution, take a look at the Robot class.
Reed Copsey
2010-07-22 14:50:25
Great! How about other programming languages? Do You know any solutions e.g. for Java?
MarcAndreson
2010-07-22 14:56:16
@MarcAndreson: I edited my answer to give you a Java alternative, as well. I just did C# first since you said "it would be best" ;)
Reed Copsey
2010-07-22 14:59:12