Sign in to follow this  
Followers 0
michaelslamet

IE.AU3 : how to get the name of inputbox that change all the time?

3 posts in this topic

How to get the name of inputbox that change all the time?

Using IE3.AU3

$oLinks = _IETagNameGetCollection($oIE, "input")
For $oLink In $oLinks
     ConsoleWrite($oLink.id & " " & $oLink.type & @CRLF)
Next

 

Give me this as a result:

0 text
0 submit
0 text
0 text
0 text
vB_Edit_001_mode hidden
tag_input text
rb_1 radio
rb_2 radio
0 hidden
0 hidden
0 hidden
0 hidden
0 hidden
0 hidden
0 hidden
vB_Edit_001_save submit
0 submit
cb_1 checkbox
opt text
0 submit
 

But none of those result give me that inputbox name I'm trying to get.

This is the HTML code:

<input name="abc" type="text"/>

Where "abc" is keep changing.

I cant auto fill this field if I dont know the name.

What do I do wrong?

Share this post


Link to post
Share on other sites



 

You get anything.

$oLinks = _IETagNameGetCollection($oIE, "input")
For $oLink In $oLinks
     ConsoleWrite($oLink.name & " " & $oLink.type & @CRLF)
Next

 

Thank you, JohnOne, it works!

I swear to God that I try that before posting question :*

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