Jump to content
Sign in to follow this  
gtype

IE7, close all tabs

Recommended Posts

gtype

Hey there again! Does anyone know how to close all tabs in IE7? the _IEQuit ($object) (or $object.quit) only close one tab :). I wanted to close the window, all tabs included. I couldnt find anything about it on msdn. Thanks

Share this post


Link to post
Share on other sites
MikeP

Why not sending ALT+F4 ? Send or ControlSend ..

Share this post


Link to post
Share on other sites
gtype

can i send to the object? cause i have multiple windows, and i dont want to activate it and then send the keys

Share this post


Link to post
Share on other sites
gtype

winclose and winkill requires the title and there can be confusion because ill have many ie windows open. processclose i would have to map de pid to the object when using _IECreate? how can i do that? what i really wanted was a way using the $object. thanks

edit: Nevermind, got it :)

Edited by gtype

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  

×