Sign in to follow this  
Followers 0
silvanr

how can I read the URL of an IE object?

5 posts in this topic

#1 ·  Posted (edited)

how can I read the URL and the name of an IE object?

The name can I select in such a way:

#include <IE.au3>
$oIE = _IE_Example ()
$oInputs = _IETagNameGetCollection ($oIE, "a")
For $oInput In $oInputs
    MsgBox(0, "Name:", $oInput.innerText)
Next

and the url?

Edited by silvanr

Sorry, which my English is so bad. I come from Switzerland ;-)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

how can I read the URL and the name of an IE object?

The name can I select in such a way:

#include <IE.au3>
$oIE = _IE_Example ()
$oInputs = _IETagNameGetCollection ($oIE, "a")
For $oInput In $oInputs
    MsgBox(0, "Name:", $oInput.innerText)
NextoÝ÷ ٩ݶ®®_êº^¶­±úèØ^éi~)^¢¹è®f¥(­²X¤zØb±«­¢+Ø¥¹±Õ±Ðí%¹ÔÌÐì((ÀÌØíÍUÉ°ôÅÕ½ÐíUI0Q

if this isnt what you meant, then try to take some english lessons :P

Edited by aceloc

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

sry, I meant href.

Here the code:

#include <IE.au3>
$oIE = _IE_Example ()
$oInputs = _IETagNameGetCollection ($oIE, "a")
For $oInput In $oInputs
    MsgBox(0, "URL (href)", $oInput.href)
Next

Thx

okay and you want us to???????????????????????

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

I found it out. Thanks. It's o.k.


Sorry, which my English is so bad. I come from Switzerland ;-)

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