[Help] The pywinauto Can't select the MDI's menu using the MenuItems() which return [].

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Dec 19 01:11:19 CET 2008

En Thu, 18 Dec 2008 11:28:54 -0200, Simon Brunning
<simon at brunningonline.net> escribió:

> 2008/12/18 为爱而生 <boyee118 at gmail.com>:
>> This problem also use the following discription:
>> How to use pywinauto to open WORD and select its Menu.
>> I can't do that and have no idea why!
>> Looking forward your help,Thanks!
> Word can be automated with COM. My golden rule is that automation via
> GUI driving is always a last resort.

To complement that answer: You'll need the pywin32 package by Mark Hammond
He coauthored the book "Python Programming On Win32"; automating Word (or
any other COM application) is covered on that book. I think the freely
available chapters cover this specific topic exactly.

Gabriel Genellina

More information about the Python-list mailing list