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

Simon Brunning simon at brunningonline.net
Mon Dec 22 10:56:59 CET 2008

2008/12/21  <gagsl-py2 at yahoo.com.ar>:
> The code below opens the Choose Font dialog on my Spanish Windows version:
> py> from pywinauto.application import Application
> py> app = Application.start("Notepad.exe")

Notepad's menus are build with MFC. Word's menus are not. Trust me,
give it up. For automating Word, COM (with Mark Hammond's excellent
Python/COM bridge) is the only way to go.

Simon B.
simon at brunningonline.net

More information about the Python-list mailing list