Interfacing GUI applications..?

Alex Martelli aleaxit at yahoo.com
Wed Jun 20 15:03:22 EDT 2001


"Jeff Shannon" <jeff at ccvcorp.com> wrote in message
news:16074dce.0106200912.7b9bc793 at posting.google.com...
    ...
> One suggestion for "something else"... there is a Visual Basic function
> "sendkeys()" that does exactly what is requested--it simulates keyboard

Easily usable from Python too (as it's packaged as part of the Windows
Scripting Host, a free download from Microsoft if you don't have it
already installed).  See an example, e.g., at:
http://aspn.activestate.com/ASPN/Python/Cookbook/Recipe/65107

Pity it won't help the original poster (who's on Linux) -- unfortunately,
generic scriptability under Unix-y systems tends to be horrible for all
non-text-mode applications (except, I'm told, those built with certain
clever toolkits -- no direct experience, sorry).  Ah, *COM*...!


Alex






More information about the Python-list mailing list