[python-win32] pywin32 bugs feedback from learner

Michel Claveau mc at mclaveau.com
Sat Aug 4 16:31:34 CEST 2007


Hello!

> v_id=v_iexplore.Document.Script._oleobj_.GetIDsOfNames('Welcome')
> v_iexplore.Document.Script._oleobj_.Invoke(v_id, 0, 
> win32com.client.pythoncom.DISPATCH_METHOD, True,'HuanGuan')

Ppffffuuuiiiitttt !!!

These lines are very too complex for my little brain.
Try this :

    v_iexplore.Document.parentWindow.Welcome()

(more easy, more nice, and most of all, more fun)


@-salutations

Michel Claveau




More information about the python-win32 mailing list