Jump to content

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


Go to solution Solved by JohnOne,

Recommended Posts

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...