Sign in to follow this  
Followers 0
urban07

_IEAttach("http://[...]user_<anything>.html", "url")

4 posts in this topic

Hello,

I was wondering if it's possible to attach a new opened IE tab to variable, knowing only what the link should look like.

I mean, this <anything> might be a completely random number.

Page opens as a new tab after submitting html form.

Please help me - I'm out of ideas and that's the last possible way :/

Share this post


Link to post
Share on other sites



_IEJS_WinGetBrowserObjArray returns an array of all the browser objects open.

You could use regular expression to filter what you want from the array objects locationurl.  eg.  StringRegExp($array[n].locationURL, "regular expression").

You can find the function in this >library.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

Did you try _IEAttach? It should be able to locate the tab using a partial URL.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Thank you both!

@Danp2 I tought that I need full url to use this function, but apparently it works :D

@SmOke_N I'll check out this function - might be useful too.

Eventually I simply used _IEAttach.

Thanks again!

Edited by urban07

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