Jump to content

Recommended Posts

On 12/2/2021 at 3:52 PM, serena_knight said:

I have a IE browser up with 2 tabs

tab1 points to a webpage

tab2 points to a webpage

the activate tab is tab2

i want to close tab1

How with a script?


maybe this help ya:)

#include <IE.au3>

Const $ie_new_in_tab=0x0800
_IEErrorNotify(0) ;-->No warnings.. :)

$oIE = _IECreate("http://www.autoitscript.com");;create first tab on IE Browser
$point  = $oIE.Navigate("http://www.autoitscript.com/forum/", $ie_new_in_tab);;create Secound tab on IE Browser
   _IEQuit($oIE);;Close first tab


Edited by ad777
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...