Sign in to follow this  
Followers 0
augustspies

How to attach to current browser window or create browser window?

4 posts in this topic

I currently have an input box set up to launch a webpage depending

on what number is entered.

How do I first check to see if a browser window is opened and if there

is one create the webpage in a new tab?

If there is not a current browser window opened then go ahead and

create one?

Share this post


Link to post
Share on other sites



Thx JohnOne.

How exactly would that be set up?

- I understand winexist but how would that work if the browser window to check for is always changing? I would like to create a new tab if a browser window exists I believe this is why you suggested ieattach and iecreate?

- would it be possible to see an example of how to set this up?

Thx for your time

Share this post


Link to post
Share on other sites

_IECreate has a tryAttach parameter that may work for you.

Also, you can open a new tab using __IENavigate (note the double underscore; search the forum for some examples).

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