Sign in to follow this  
Followers 0
hatery

How to close more Intenet Explorer tab in one window

3 posts in this topic

#1 ·  Posted (edited)

#include <IE.au3>
$oIE = _IECreate("www.autoitscript.com")
Sleep(2000)
__IENavigate($oIE, "www.google.com", 0, 0x800)
Sleep(2000)
__IENavigate($oIE, "www.dogpile.com", 0, 0x800)
Sleep(2000)
__IENavigate($oIE, "www.ebay.com", 0, 0x800)
Sleep(5000)
_IEQuit($oIE)

_IEQuit($oIE) --- not working

Send("!+{F4}") --- not working

How to close Intenet Explorer browser...???

thank you

Edited by hatery

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I deleted the , 0x800 part from each IENavigate line, and it worked fine for me. What was that for anyway?

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

All works as designed.

_IEQuit($oIE) only closed the last tab as $oIE is pointing to it .

To close IE you can do a ProcessClose("Iexplore.exe")

Share this post


Link to post
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
Sign in to follow this  
Followers 0