Module Expect to control Win32 programs?

Chui Tey teyc at bigfoot.com
Wed Nov 8 18:22:42 EST 2000


I recommend you have a look at the shareware macro recorders. The name
eludes me at the moment ...

"Roger Upole" <rupole at msn.com> wrote in message
news:EmmN5.27058$96.1844192 at pouncer.easynews.com...
> You could use SendKeys from Window Scripting Host.
> However, this has a couple of drawbacks.  It only sends
> keystrokes to the foreground window, so you'd have to
> make sure your app always stays on top. Also, there's
> no feedback so you'd have to have some external way to
> check if the action was actually performed.  (Or you
> may be able to use win32ui.GetForeGroundWindow
> and GetWindowText to check for success/error
> messages, but I've never tried this...)
>   HTH
>    Roger Upole
>
> >
> >
> >
>
>
>





More information about the Python-list mailing list