Thanks to Jerry Hill above who helped. This worked:
from pywinauto.application import Application app = Application() app.start_(r'C:\temp\hallbig2.exe') app.Form1.Edit6.TypeKeys(r'C:\temp\input\Ea39j.txt') E_Value = "" while (E_Value == ""): app.Form1.Compute.Click() E_Value = app.Form1.Edit8.WindowText() print repr(E_Value) app.Kill_() -- http://mail.python.org/mailman/listinfo/python-list