November 20th, 2004, 03:50 PM
Mouse and keyboard emulation
I am new of this forum and also of Python.
Coming from Windows I appreciated there the several ways of implementing a macro (AutoIt, Macro Express, Macro Scheduler and also VBA and its macro registration in Excel).
Now I am using (and appreciating) Linux and Python (in the Linux version).
Is it possible in Python to simulate the mouse and the keaboard?
The immediate goal is to run a browser (for example, Mozilla), then to simulate mouse mouvements/clics and key presses to enter some text in a field.
The first part is very easy:
That runs (under Mozilla) the Google search engine.
You could use the mouse and keyboard simulation to enter a search
taken from a file, change the 'advanced search parameters' and so on.
The above is only an example of several possible uses.