AchyuthB Posted February 20, 2012 Share Posted February 20, 2012 Hi, My requirement is to open multiple Internet Explorer each with "new session". I could not find a way to open an IE with new session in AutoIt. So, i updated the windows registery and made the required changes to open IE in a new session every time. The problem is, that still if I open a new IE from AutoIt, it opens with the old session. $oIE = _IECreate($url_1) But from outside if i double click the IE it opens in the new session. Can you please suggest me on how to go about this. Thank you Achyuth Link to comment Share on other sites More sharing options...
JohnOne Posted February 20, 2012 Share Posted February 20, 2012 What about, using run to start it, and attaching to it? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
wakillon Posted February 20, 2012 Share Posted February 20, 2012 (edited) When you say "new session", is it new Tab or new Window ? #include <IE.au3> ; based on a DaleHohm example Const $navOpenInNewTab = 0x0800 Const $navOpenInBackgroundTab = 0x1000 $oIE1 = _IECreate ( "www.bing.com" ) _IEErrorNotify ( False ) $_Url = "www.autoitscript.com" $oIE1.navigate ( $_Url, $navOpenInNewTab ) Do $oIE2 = _IEAttach ( $_Url, "url" ) Sleep ( 250 ) Until IsObj ( $oIE2 ) Sleep ( 2000 ) _IENavigate ( $oIE1, $_Url ) _IENavigate ( $oIE2, "www.bing.com" ) Like that you can get an object variable for each IE tab Edited February 20, 2012 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
llamedo Posted April 13, 2012 Share Posted April 13, 2012 Have you guys found a solution for this? The @wakillon code didn't work for me. I need the same as OP. I need two different windows opened with different session for IE8. I heard that with IE7 this is done automatically but I can't downgrade to IE7 on my VPS since it's Windows Server 2008 R2. So, how can I open two windows with diferent sessions in IE8? Thank you. 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