cypher175 Posted April 27, 2010 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..??
Juvigy Posted April 27, 2010 Posted April 27, 2010 Yes.Only in IE 7 and above.Check out the code: $oIE.Navigate2("Yahoo.com",2048)
cypher175 Posted April 27, 2010 Author 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..??
Juvigy Posted April 27, 2010 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?")
cypher175 Posted June 2, 2010 Author 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..??
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