Tim,

You are, of course, completely right as this example which may be useful to
others shows.

>>> import win32com.client
>>> ie=win32com.client.Dispatch('InternetExplorer.Application')
>>> ie.Visible=True
>>> ie.Navigate('www.cnn.com')
>>> ie.PutProperty('aProperty', 'this is the value')
>>> ie.GetProperty('aProperty')
u'this is the value'
>>>

Interestingly

>>> ie.Navigate('www.cnn.com')
>>> ie.GetProperty('aProperty')
u'this is the value'
>>>

so the property is preserved across navigation as the reference describes. 

Thanks again for your help.

Regards,
Richard

|
|I may be mistaken, but from my reading of the documents, GetProperty and
|PutProperty are intended to pass property information to the web page
|currently being displayed, not as an alternate method of manipulating
|the properties of the IE object itself.
|
|    http://msdn2.microsoft.com/en-us/library/ms976136.aspx
|
|--
|Tim Roberts, [EMAIL PROTECTED]
|Providenza & Boekelheide, Inc.
|
|_______________________________________________
|Python-win32 mailing list
|Python-win32@python.org
|http://mail.python.org/mailman/listinfo/python-win32

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to