Jump to content

Calling IE


Recommended Posts

I am looking to be able to display various htm pages 1 page after another....mypage1, then mypage2, then mypage3, etc

The following worked nicely, opening and closing, but the IE window was not maximized:

#include <IE.au3>

$oIE = _IECreate ("mypage1.htm")

Sleep(10000)

_IEQuit ($oIE)

This provided for a maximized window, but with each htm, a new IE session was opened:

Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE mypage1.htm","", @SW_MAXIMIZE)

Sleep(10000)

Any advise or direction to get the best of both of these together??

Thanks!!

Link to comment
Share on other sites

Hi gmix....that does work for the single session..thank you!! I found the WinSetState("","",@SW_MAXIMIZE ) to get the window maxed:

#include <IE.au3>

$oIE = _IECreate ("mypage1.htm")

WinSetState("","",@SW_MAXIMIZE )

Sleep(10000)

_IENavigate ($oIE, "mypage2.htm")

Sleep(10000)

Thanks again for the reply!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...