Saturday 6 December 2003 — This is 21 years old. Be careful.
Simon seems to have written a cool Windows automation Python module and not told anyone about it. At least I hadn’t heard.
Saturday 6 December 2003 — This is 21 years old. Be careful.
Simon seems to have written a cool Windows automation Python module and not told anyone about it. At least I hadn’t heard.
Comments
If anyone finds it handy in the meantime, OTOH, they are more than welcome to make use of it...
I know u said it is not of release quality but I tried running it
on my win2k sp4 machine and am getting this.
Am not sure what to do/fix.
Thanks in advance,
Chai
/d/ca python winGuiAuto.py
Open and locate Notepad
Dump the Notepad window contents:
[[6558360, u'', 'Edit']]
Open and locate the 'replace' dialogue
Traceback (most recent call last):
File "winGuiAuto.py", line 524, in ?
activateMenuItem(notepadWindow, ['search', 'replace'])
File "winGuiAuto.py", line 231, in activateMenuItem submenu)
File "winGuiAuto.py", line 497, in _findNamedSubmenu
raise WinGuiAutoError("No submenu found for hMenu=" +
__main__.WinGuiAutoError: No submenu found for hMenu=70723, hMenuItemCount=3, submenuName='search'
I've fixed this now, so grab a newer version, and see what you get.
I'll also try and see if I can make the error message more informative...
KeyError: 10
Add a comment: