Examples of Python driven Microsoft UI Automation wanted

DuaneKaufman duane.kaufman at gmail.com
Thu Jul 9 19:36:50 CEST 2009


On Jul 9, 12:18 pm, Tim Harig <user... at ilthio.net> wrote:
> On 2009-07-09, TheSeeker <duane.kauf... at gmail.com> wrote:
>
> > Specifically, I have a WinForms application I will be wanting to
> > automate. Does anyone have some Python examples of driving Microsoft
> > UI Automation they could share with me to get me started? The
> > structure of the UI automation classes etc. seem quite convoluted, and
> > I am having difficulty getting my brain wrapped around it.
>
> If you find a way to work through the UI using the keyboard (tabs, etc);
> then, you can send it keyboard commands using WScript.WshShell.SendKeys():
>
> http://msdn.microsoft.com/en-us/library/8c6yea83(VS.85).aspx

Thanks for the link.

Unfortunately, I need to be able to find out the contents of a few
text-boxes as well,
so SendKeys isn't all I need.

Thanks again,
Duane



More information about the Python-list mailing list