| |
|
|
- Page 1 - |
|
Julian Schmidt | I have me your OCX Help once angeschaut. and have anhand your Source it now hinbekommen further Menupunkte in the "HTMLWin Kontextmenu" to address.
LG
Julian |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 03/13/11 ▲ |
|
|
|
|
« this Posting watts as Solution marked. » |
|
Uwe ''Pascal'' Niemeier | Hi Julian!
first another Info: so You on pieces of/ one HTML-File or Website grab can, must You ensuring, that the Page entire loaded is (had I yet unterschlagen). therefore are whom folgenen Examples suitable Warteschleifen installed.
How can whom point "Eigenschaften" in the Context menu address
the goes again over the IOleCommandTarget -Interface; so can any functions Call, The over diverse Menüs To achieve are: CompileMarkSeparationwindow 600,600
$H Windows.ph
$H ocx3a.ph
$I ocx3a.inc
def %Exec 4
def &OLECMDID_PROPERTIES 10
def $IID_OleCommandTarget "{b722bccb-4e68-101b-a2bc-00aa00404770}"
var Html$="C:\Test.html"
var WebControl&=create("HTMLWin",%hwnd,Html$,1,100,100,400,400)
while HTMLWin("GetBusy",WebControl&)
sleep 50
endwhile
ocxInit()
var WebBrowser&=HTMLWin("QueryInterface",WebControl&)
var IOleCommandTarget&=QueryInterface(WebBrowser&,$IID_OleCommandTarget)
CallMethod(IOleCommandTarget&,%Exec,0,&OLECMDID_PROPERTIES,0,var#,0)
ocxRelease(IOleCommandTarget&,Webbrowser&)
ocxDeInit()
waitkey
destroywindow(WebControl& class=s2>)
an list Another Opportunities (&OLECMDID_Konstanten and its values) find You here: [...]
and how can one The Seitenkodierung address?
The Seitenkodierung is a quality the Dokumentes: CompileMarkSeparationwindow 600,600
usermessages 16
$H windows.ph
$H ocx3a.ph
$I ocx3a.inc
popup "Charset"
appendmenu 1,"ISO-8859-1"
appendmenu 2,"ISO-8859-5"
appendmenu 3,"ISO-8859-7"
var Html$="C:\Test.html"
var WebControl&=create("HTMLWin",%hwnd,Html$,1,100,100,400,400)
while HTMLWin("GetBusy",WebControl&)
sleep 50
endwhile
ocxInit()
var WebBrowser&=HTMLWin("QueryInterface",WebControl&)
var Document&=ocxget(WebBrowser&,"Document")
settimer 500'--Charset-selection over IE-Context menu becomes of WaitInput not recognized
while 1
waitinput
case %umessage=16:break
case %menuitem=1:ocxPut(Document&,"charset","ISO-8859-1")
case %menuitem=2:ocxPut(Document&,"charset","ISO-8859-5")
case %menuitem=3:ocxPut(Document&,"charset","ISO-8859-7")
case %menuitem :HTMLWin("Refresh",WebControl&)'--update with Änderung
settext %hwnd,ocxget(Document&,"charset")
endwhile
killtimer
ocxRelease(Document&,WebBrowser&)
destroywindow(WebControl&)
ocxDeInit()
The Zuordnung the countries etc. must You but self distinguished. thereby helps Perhaps this: [...]
PS: How these "Rechts-Links"-story functions, have I on The speedy neither rausgekriegt
SeeYou Pascal |
|
|
| |
|
|
|
|
Julian Schmidt | |
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 03/13/11 ▲ |
|
|
|
|
Thomas Freier |
How can whom Seitenquellcode address?
in a what You so mean. whom Seitenquellcode can you you in the MultiEdit or Rtf-Edit Show let and Edit. desired Syntaxhervorhebung must hold self be installed. |
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 03/15/11 ▲ |
|
|
|
|
Julian Schmidt | Thomas suitor (15.03.11)
How can whom Seitenquellcode address? in a what You so mean. whom Seitenquellcode can you you in the MultiEdit or Rtf-Edit Show let and Edit. desired Syntaxhervorhebung must hold self be installed.
the relating itself on the point "Quellcode anzeigen" in the Context menu one HTMLWin Dialogs.
How can whom Menupünkt over OCX address? |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 03/15/11 ▲ |
|
|
|
|
Uwe ''Pascal'' Niemeier | 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 |
|
|
| |
|
|
|
Julian Schmidt | thanks
now my last ask,
How can whom point "Eigenschaften" in the Context menu address
and how can one The Seitenkodierung address? (here To must yet said go that I whom point so How he's as SubPopup in that Program install wants, if the a strain play ought to.)
LG
Julian |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 03/16/11 ▲ |
|
|
|
|
Uwe ''Pascal'' Niemeier | Hi Julian!
first another Info: so You on pieces of/ one HTML-File or Website grab can, must You ensuring, that the Page entire loaded is (had I yet unterschlagen). therefore are whom folgenen Examples suitable Warteschleifen installed.
How can whom point "Eigenschaften" in the Context menu address
the goes again over the IOleCommandTarget -Interface; so can any functions Call, The over diverse Menüs To achieve are: CompileMarkSeparationwindow 600,600
$H Windows.ph
$H ocx3a.ph
$I ocx3a.inc
def %Exec 4
def &OLECMDID_PROPERTIES 10
def $IID_OleCommandTarget "{b722bccb-4e68-101b-a2bc-00aa00404770}"
var Html$="C:\Test.html"
var WebControl&=create("HTMLWin",%hwnd,Html$,1,100,100,400,400)
while HTMLWin("GetBusy",WebControl&)
sleep 50
endwhile
ocxInit()
var WebBrowser&=HTMLWin("QueryInterface",WebControl&)
var IOleCommandTarget&=QueryInterface(WebBrowser&,$IID_OleCommandTarget)
CallMethod(IOleCommandTarget&,%Exec,0,&OLECMDID_PROPERTIES,0,var#,0)
ocxRelease(IOleCommandTarget&,Webbrowser&)
ocxDeInit()
waitkey
destroywindow(WebControl& class=s2>)
an list Another Opportunities (&OLECMDID_Konstanten and its values) find You here: [...]
and how can one The Seitenkodierung address?
The Seitenkodierung is a quality the Dokumentes: CompileMarkSeparationwindow 600,600
usermessages 16
$H windows.ph
$H ocx3a.ph
$I ocx3a.inc
popup "Charset"
appendmenu 1,"ISO-8859-1"
appendmenu 2,"ISO-8859-5"
appendmenu 3,"ISO-8859-7"
var Html$="C:\Test.html"
var WebControl&=create("HTMLWin",%hwnd,Html$,1,100,100,400,400)
while HTMLWin("GetBusy",WebControl&)
sleep 50
endwhile
ocxInit()
var WebBrowser&=HTMLWin("QueryInterface",WebControl&)
var Document&=ocxget(WebBrowser&,"Document")
settimer 500'--Charset-selection over IE-Context menu becomes of WaitInput not recognized
while 1
waitinput
case %umessage=16:break
case %menuitem=1:ocxPut(Document&,"charset","ISO-8859-1")
case %menuitem=2:ocxPut(Document&,"charset","ISO-8859-5")
case %menuitem=3:ocxPut(Document&,"charset","ISO-8859-7")
case %menuitem :HTMLWin("Refresh",WebControl&)'--update with Änderung
settext %hwnd,ocxget(Document&,"charset")
endwhile
killtimer
ocxRelease(Document&,WebBrowser&)
destroywindow(WebControl&)
ocxDeInit()
The Zuordnung the countries etc. must You but self distinguished. thereby helps Perhaps this: [...]
PS: How these "Rechts-Links"-story functions, have I on The speedy neither rausgekriegt
SeeYou Pascal |
|
|
| |
|
|
|
Julian Schmidt | thanks for Mühen, i'll it me in the running of the day time look at |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 03/20/11 ▲ |
|
|
|