imitating user input

Miki Tebeka miki.tebeka at zoran.com
Mon Apr 19 08:51:25 EDT 2004


Hello Greg,

> I need to imitate keyboard strokes in an active window inside of
> internet explorer, specifically I need my program to log on to a
> chatroom without me actually sitting in front of my computer. Also,
> once it has logged on to the program I need my program to "read"
> (search for strings, etc.) the text that's entered by other users in
> this "chatroom". The problem I have is actually logging in to the
> chatroom since I have not found a way to duplicate keyboard strokes.
I agree with the other response, however if you're interested in 
generating key strokes anyhow have a look at AutoIt 
(http://www.hiddensoft.com/AutoIt/). You can use either the executable 
by generating scripts or the ActiveX component (or even the dll with 
ctypes).

HTH.
Miki



More information about the Python-list mailing list