michaelslamet Posted October 14, 2013 Posted October 14, 2013 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?
Solution JohnOne Posted October 14, 2013 Solution Posted October 14, 2013 You get anything. $oLinks = _IETagNameGetCollection($oIE, "input") For $oLink In $oLinks ConsoleWrite($oLink.name & " " & $oLink.type & @CRLF) Next AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
michaelslamet Posted October 14, 2013 Author Posted October 14, 2013 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now