Controlling windows gui applications from python

Paul Watson pwatson at redlinepy.com
Fri Nov 18 14:54:21 EST 2005


tim wrote:
> Hi all, I'm almost as new to this list as to python so I hope I don't 
> get a "this has been answered a 100 times before" or anything...
> 
> Currently I am using a program named 'Macro Scheduler' for automating 
> programs that don't have a command line version.
> Its a simple scripting language that allows you to automate button 
> clicks, mouse movement, starting programs, checking the state of a 
> window, changing the focus, type text into an input field...etc.
> Is there a way to do these things from within Python?
> 
> Thanks
> Tim

If there is a Microsoft COM interface to your 'Macro Scheduler' program, 
then you can drive it from Python code.  See the win32com interface and 
get Mark Hammond's book "Programming Python on Win32," or something like 
that, from O'Reilly.



More information about the Python-list mailing list