How can I enter text in the text fields of the window shown by a program in an automated manner?
Asked
Active
Viewed 285 times
3
1 Answers
1
In order to simulate user input you can use xdottool
which is mentioned in comments to your question.
Besides, there is xaut (formerly xautomation) python lib. You cas simulate mouse movement and mouse clicks, keystrokes, and manipulate windows from Python.
Moreover, there's X11:GUITest perl package. This can be used to interact (SendKeys, ClickMouseButton, FindWindowLike, etc.) with applications running under an X Windows environment. Including applications built (GTK+, Qt, Motif, etc.) upon X11 / Xlib.

kirill-a
- 2,923
xdotool
, and thought that one was general enough. – muru Dec 05 '14 at 11:06