Date: Fri, 4 Feb 2011 10:42:37 +1100<br>
From: "Andrew MacIntyre" <<a href="mailto:Andrew.MacIntyre@acma.gov.au" target="_blank">Andrew.MacIntyre@acma.gov.au</a>><br>
To: <a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br>
Subject: Re: [python-win32] Using os.startfile() for automation<br>
[SEC=UNCLASSIFIED]<br>
Message-ID:<br><div>
<br>
<br>
>>Other than COM, application automation on Windows requires Windows API<br>
>>programming to send the necessary messages to application windows - this<br>>>is what AutoIt does. <br><br><br>I believe that people have written Python code to<br>
do this; googling "python application automation" might give you some<br>
ideas.<br><br>Autoit3 exposes some of it's API's via COM, but I'd rather avoid COM.<br><br><a href="http://code.google.com/p/robotframework-autoitlibrary/">http://code.google.com/p/robotframework-autoitlibrary/</a><br>
Python + AutoIt via COM just seems like too many layers, just to invoke the File Save As menu.<br><br><br>This looks like its the most mature Python package and is the one I'm trying to use, but with no success at the moment. At least there have been updates recently.<br>
<a href="http://code.google.com/p/pywinauto/" target="_blank">http://code.google.com/p/pywinauto/</a><br>but the API is bad and the docs are confusing.<br><br><br>This is next inline, and ....<br>
<a href="http://www.tizmoi.net/watsup/intro.html" target="_blank">http://www.tizmoi.net/watsup/intro.html</a><br><br>There was one other, but googling isn't finding it at the moment, however it is the project which started the others.<br>
<br><br><br><br></div>