win32com InternetExplorer checkbox set?

Quinet, Joel joel.quinet at be.unisys.com
Mon May 5 04:08:02 EDT 2003


Hello,

I have this working with 

ie.Document.forms[3][2].checked = 1

Hope this help
Joel

-----Original Message-----
From: k.robert at gmx.de [mailto:k.robert at gmx.de]
Sent: vendredi 2 mai 2003 9:35
To: python-list at python.org
Subject: win32com InternetExplorer checkbox set?


I managed to set text fields like

>>> ie.Document.forms[3][2].type
u'text'
>>> ie.Document.forms[3][2].value = "my text"

but when I set a checkbox or a select-one (when options have no
explicit option values) like
ie.Document.forms[3][2].value="1"   # or "ON" or <select-text...>

nothing happens !?

Robert
-- 
http://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list