Jump to content

Multiple Scripts Using Different Tabs On Same IE Object


Recommended Posts

I have multiple scripts all using different IE Objects, so if I have 6 scripts running simultaneously there will be 6 different IE windows open..

So what I want to know is, if its possible at all to have one instance of IE running and have all 6 scripts working simultaneously but in different Tabs on the same IE window Object..??

Is anything like this possible at all with AutoIt..??

Link to comment
Share on other sites

You can use _IEAtach to attach to any or all of the tabs.

Lets say you have 3 tabs: - yahoo , google , microsoft

$oIE1 = _IEAttach("http://uk.yahoo.com/?p=us", "url")
$oIE2 = _IEAttach("http://google.com", "url")
$oIE3 = _IEAttach("http://microsoft.com", "url")

If you want to navigate away from the microsoft site you can do:

_IENavigate ($oIE3, "http://www.autoitscript.com/forum/index.php?")
Link to comment
Share on other sites

  • 1 month later...

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...