cypher175 Posted April 27, 2010 Share Posted April 27, 2010 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 More sharing options...
Juvigy Posted April 27, 2010 Share Posted April 27, 2010 Yes.Only in IE 7 and above.Check out the code: $oIE.Navigate2("Yahoo.com",2048) Link to comment Share on other sites More sharing options...
cypher175 Posted April 27, 2010 Author Share Posted April 27, 2010 is there any way to get an Object for the new tab at all..?? how do i re-navigate the new tab..?? Link to comment Share on other sites More sharing options...
Juvigy Posted April 27, 2010 Share Posted April 27, 2010 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 More sharing options...
cypher175 Posted June 2, 2010 Author Share Posted June 2, 2010 Is there anyway to Close the new Tab I opened using this..?? $oIE.Navigate2("http://google.com", 2048) $oIE = _IEAttach("http://google.com", "url") How do I Close this Tab..?? Link to comment Share on other sites More sharing options...
Juvigy Posted June 2, 2010 Share Posted June 2, 2010 _IEQuit($oIE) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now