java.awt.Robot equivalent?

SBrunning at SBrunning at
Mon Dec 15 18:48:28 CET 2003

> From:	Christopher Koppler [SMTP:klapotec at]
> Autoit does exactly what I need (click on a specific coordinate in a
> canvas-like window), and finally a reason to learn to use ctypes,
> too...
You don't really need to use ctypes to drive AutoIt - it's COM scriptable.
Give me a shout if you want some examples of driving it - I'm sure I have
some somewhere around here...

But I gave up using it in the end, 'cos it was so fragile. If the wrong
window gained focus, the script would die. Besides, there are some controls
that it won't drive unless you are willing to resort to mouse clicks on
absolute positions, which is also fragile.

In the end, I just drove the Windows API directly. Yes, using ctypes a lot
of the time. ;-) You can find my current work in progress here:

It's not far from being ready to go, actually. It just needs a few more
tests, some introductory docs, and an installation script. It's quite
useable, though - the functions themselves are well documented, and the test
script gives you a good high level introduction. We use it a lot.

Simon Brunning,

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.

More information about the Python-list mailing list