| |
|
|
| Browser Html Htmlwin Innerhtml Innertext Ocx View source
Uwe ''Pascal'' Niemeier (15.03.11)
Hi Julian! i think, you mean something like: CompileMarkSeparationwindow %maxX,%maxY
$H Windows.ph
$H ocx3a.ph
$I ocx3a.inc
ocxInit()
var Html$="C:\Test.html"
var WebControl&=create("HTMLWin",%hwnd,Html$,1,0,0,width(%hwnd),height(%hwnd))
var WebBrowser&=HTMLWin("QueryInterface",WebControl&)
var Document&=ocxget(WebBrowser&,"Document")
var Body&=ocxget(Document&,"Body")
var innerHTML$=ocxget(Body&,"innerHTML")
var innerText$=ocxget(Body&,"innerText")
ocxRelease(Body&,Document&,WebBrowser&)
ocxDeInit()
waitinput
destroywindow(WebControl&)
cls
print innerText$
waitinput
cls
print innerHTML$
waitinput
As I said, mach you on the best a little bit with JavaScript intimate. there go The different Objects and properties, from them a HTML-File exists, described. or look time here: [...] SeeYou Pascal |
|
|
| |
|
|