Jump to content
Sign in to follow this  
hatery

How to close more Intenet Explorer tab in one window

Recommended Posts

hatery

#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
somdcomputerguy

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
Juvigy

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.