Jump to content
Sign in to follow this  
atzoref

Working with Internet Explorer Tabs

Recommended Posts

atzoref

Hi,

How can I active a specific Tab in Windows Internet Explorer?

Then how can I read just the address from the bar and not all the text?

Thanks

Share this post


Link to post
Share on other sites
atzoref

Thanks, but I don't know if it's good for me, Also I don't know how to implement it with Autoit.

I tell you exactly what I need:

1) Verify TAB name of a new Internet Explorer TAB which open in a new browser or exist browser which already opened

2) Read the address of this specific TAB which opened

How can I do that?

Thanks.

Share this post


Link to post
Share on other sites
MilesAhead

I suggest you use the window spy tool, IE and figure it out. Trial and error is like 90% of programming. Getting other people to do it for you is more appropriate to a forum on management techniques.

Edited by MilesAhead

Share this post


Link to post
Share on other sites
6105

__IENavigate will help you to open new tab

__IENavigate($oIE, $oLink.href, 0, 0x800) ; open new tab

_IEQuit($oIE) will close focused tab

_IEQuit($oIE) ; close tab

_StringBetween to find something in your link:

$check = _StringBetween($oIE.LocationURL, $key, $word) ; Search in URL

_IEAttach to select/focus to tab (i spend log time to understand this function)

$oIE = _IEAttach ("", "instance", $check); ; Focus tab

Tedy.

EDIT: added _StringBetween

Edited by 6105

[center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center]

Share this post


Link to post
Share on other sites
atzoref

6105 - Great Help!!

Thanks, it's works good :oops:

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  

×