Keep a web page from timing out with AutoIT IE.au3

If you are using webmail or any other page that thinks it needs to log you out after just a few minutes (like it is the only thing you are working on).  Here is some code to help you keep a page alive indefinitely.

 

While the code below is the full script to allow for pausing and resuming the heart of this are two lines:

_IECreate()

and

_IEAction()

These two lines are the most important.  _IECreate launches an instance if IE and $oIE is the hook to send it commands.

There are lots more you can do like write a screen scraper (that is another story for another time)

Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *