How to control app from Python?

Andy Fox foxes at theriver.com
Thu Oct 28 10:13:23 EDT 1999


The app to be controlled is visual.  The good news is that every
function can be accessed using only keystrokes (no mouse).  The bad news
is that the app was designed to be used interactively.

In retrospect, my question is probably not Python-specific, although I
would like to use Python to do all the work.

There are macro products on the market (like WinBatch and AutoMate) that
start and stop apps and "record keystrokes," so it must be possible to
do this.

I discovered Mark Hammond's win32 stuff at the python.org and starship
sites yesterday.  I'm looking into WinExec(), CreateProcess() and
ShellExec() now.

-- 
Andy Fox




More information about the Python-list mailing list