Jump to content

multiple instances of ie


Recommended Posts

i currently have 2 separate scripts that autologon to our company's intranet site and owa

which produces 2 instances of ie

then i have to drag the tab of one instance to the other instance, then i have just one instance with the two tabs

is there a way to automate this joining of the instances?

Link to comment
Share on other sites

im using the $oie=_IECreate in each script, to launch the intranet sites

so when i launch my script, it automatically creates a new instance.

my default ie settings are to open up in a new tab...

Edited by pcjunki
Link to comment
Share on other sites

I found this bit of code by my friend James Mills. create a second tab then attach to it.

http://www.autoitscript.com/forum/topic/143527-ie-8-and-tabs/page__hl__+tab#entry1010727

Local $numtabs = 0

while 1

$numtabs = $numtabs + 1

$oie = _ieattach("","instance",$numtabs)

if @error = $_IEStatus_Nomatch then

exitloop

endif

$oietitle = _IDpropertyget($oie,"title")

if $oietitle = "cid", then

exitloop

endif

wend

Edited by scullion
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...