关于OCS的调用
<HTML>
<HEAD>
</HEAD>
<BODY>
<script language="JavaScript">
InitializeObject();
function InitializeObject()
{ NameObj = new ActiveXObject("Name.NameCtrl"); ///这是office中的一个ActiveXObject(NAME.dll)
}
function ShowOOUI(name)
{ var obj = window.event.srcElement;
NameObj.ShowOOUI(name,0,0,0);
}
function HideOOUI()
{ NameObj.HideOOUI();
}
</script>
<span onmouseover="ShowOOUI(' demo@microsoft.com')" onmouseout="HideOOUI()">Kane Xu</span>
</BODY>
</HTML>
我想吧上面网页中的JS功能用到AU3中请问应该怎么实现呢? ObjCreate $NameObj = ObjCreate("ScriptControl")
$NameObj.language = "JavaScript"
页:
[1]