Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Init From Internet Explorer
#1
Hi guys,

I'm trying to get the html text of the current opened webpage in my browser.

I tried :

HtmlDoc d
d.SetOptions(2)
d.InitFromInternetExplorer(2)
str s=d.GetHtml("Body")
out s

Not working.... could you help me?
#2
try this

Code:
Copy      Help
HtmlDoc d
d.SetOptions(2)
d.InitFromInternetExplorer(win("" "IEFrame"))
str s=d.GetHtml("Body")
out s
 or for a little faster result use flag 1 in setoptions

Code:
Copy      Help
HtmlDoc d
d.SetOptions(1|2)
d.InitFromInternetExplorer(win("" "IEFrame"))
str s=d.GetHtml("Body")
out s
#3
It worked. Thank you, Kevin!


Forum Jump:


Users browsing this thread: 1 Guest(s)