[quote="XR4-IT"]I’ve been unable to find in the Help how to access the HTML from an IE object.
For example after IE_Navigate>%IE[0]%,https://www.optimalblue.com/optimallender/login.aspx,r
How do I get to where the HTML is?[/quote]
I posted this and thought I sould move it to the proper board.
I found a way to get a variable to hold html using the IE_ExtractTag> function, but any time I try to take large portions of html code the macro will freeze up. Is there any other way to get at the HTML code of a IE object?
How to get HTML code back?
Moderators: JRL, Dorian (MJT support)
No because the user needs to be able to interact with the browser. The URL isn’t really a good example for what I’m trying to do with this.
Basically I was using the IE_ExtractTag> function to get several form values, but the problem is that the form settings are customizable making it so the values I want won’t be in the same place on the web page for my users. Each field however has a name in the input tag that I could have used to parse the HTML directly with the MidStr> function. Getting to the HTML to do that though has proven difficult especially since I still need the user to be able to work with the site at the same time.
Thanks,
XR4-IT
Basically I was using the IE_ExtractTag> function to get several form values, but the problem is that the form settings are customizable making it so the values I want won’t be in the same place on the web page for my users. Each field however has a name in the input tag that I could have used to parse the HTML directly with the MidStr> function. Getting to the HTML to do that though has proven difficult especially since I still need the user to be able to work with the site at the same time.
Thanks,
XR4-IT
I haven't gotten an answer to my question yet… I thought maybe I would post the code that I’m using to get try and get the HTML and perhaps someone can tell me what I’m ding wrong.
The page is loaded in the browser that the IE[0] object created, and then I use these lines of code.
IE_ExtractTag>%IE[0]%,,FORM,0,1,FORM0,html
MidStr>html_6,1,html,FORM0
This code block would contain most of the data on the page, but when I get to this part of the code the script freezes.
I think it has something to do with the length of the string I am going for… if any one can help me it would be appreciated.
Thanks
The page is loaded in the browser that the IE[0] object created, and then I use these lines of code.
IE_ExtractTag>%IE[0]%,,FORM,0,1,FORM0,html
MidStr>html_6,1,html,FORM0
This code block would contain most of the data on the page, but when I get to this part of the code the script freezes.
I think it has something to do with the length of the string I am going for… if any one can help me it would be appreciated.
Thanks