Refreshing an IE Webpage

K-Dawg kdawg44 at gmail.com
Mon Feb 2 18:59:27 CET 2009


Please disregard... I was making it harder than it had to be I think.

The following seems to be running fine.  Whether its doing what I want I
will know in a little bit if the page in my browser times out....


import win32com.client, pythoncom
from time import sleep

ie=win32com.client.Dispatch('internetexplorer.application')

> ie.Visible=0
> ie.Navigate('URL')
> sleep(5)
>
> while True:
>     sleep(240)

        ie.Refresh()

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090202/9dc5b498/attachment.html>


More information about the Python-list mailing list