M
mumu
Unregistered / Unconfirmed
GUEST, unregistred user!
下面是关联到网页右键菜单上“采集网页选定部分”的html文档代码。
<script language="VBScript">
Sub OnContextMenu()
NCWEBPAGE=1
NCSELWEBPAGE=2
NCSELTEXT=3
NCALLTEXT=4
NCIMAGE=5
NCALLIMAGE=6
NCALLLINK=7
NCALLLINKTITLE=8
NCSELSOURCECODE=9
NCSOURCECODE=10
On Error Resume Next
set nc=CreateObject("NcActive.NcCollect")
if err<>0 then
MsgBox("网海拾贝没有正确安装")
else
call Nc.Gethtmldoc(NcSelWebPage,external.menuArguments.document) ‘如何实现?
end if
end sub
Call OnContextMenu()
</script>
<script language="VBScript">
Sub OnContextMenu()
NCWEBPAGE=1
NCSELWEBPAGE=2
NCSELTEXT=3
NCALLTEXT=4
NCIMAGE=5
NCALLIMAGE=6
NCALLLINK=7
NCALLLINKTITLE=8
NCSELSOURCECODE=9
NCSOURCECODE=10
On Error Resume Next
set nc=CreateObject("NcActive.NcCollect")
if err<>0 then
MsgBox("网海拾贝没有正确安装")
else
call Nc.Gethtmldoc(NcSelWebPage,external.menuArguments.document) ‘如何实现?
end if
end sub
Call OnContextMenu()
</script>