Hi
I want to get the following equation on this page using websites automation: http://www.mathjax.org/demos/copy-and-paste/
To do that, I would need to get MathML code or Tex code. This can be obtained by right clicking the equation > show math as > teX commands. How can I do that using website automation? For example: When a button is clicked, the equation is retrieved (or atleast the MathML or TeX code). I’ve tried inspecting source using google chrome and there was only so much I can find, can anyone help?
Thanks
PS. I think this has something to do with Javascript?
Hi James,
I think it’s simpler than that. Just grab the html source code with a http socket and then parse it. It seems the code is between “\[” and “\]”.
Here is the source code for your example web site.
http://gorgeousapps.com/GetTeX.zip
Hope it gets you in the right direction.
Wow that was a lot easier than I thought! Thank you so much
[quote=88861:@Alain Bailleul]Hi James,
I think it’s simpler than that. Just grab the html source code with a http socket and then parse it. It seems the code is between “\[” and “\]”.
Here is the source code for your example web site.
http://gorgeousapps.com/GetTeX.zip
Hope it gets you in the right direction.[/quote]
That works great! But do you know what I would have to change in order for it to use current state of htmlviewer1 instead of a specific URL.