Access Arbortext Editor in an ActiveX control
I've embedded Arbortext Editor 5.4 in an ActiveX control in an HTML page as described in the Customizer's Guide (p. 183) and in samles/web-integration/embedded_scripting.html.
My question is, how to get access to the AOM/DOM of a document loaded in the ActiveX control from the HTML page embedding the Arbortext Editor control using JavaScript/JScript?
Here is the relevant part of my HTML page:
...
<object id="editor" classid="clsid:3990811F-C23D-448E-B893-54549C334960"
height="100%" width="100%">
<script language="javascript" type="text/javascript" for="editor">
var documentFlags = 0x0000;
var windowFlags = 0x949FF;
var aclWindowId;
function OpenDoc(docUrl)
{
aclWindowId = editor.open(docUrl, documentFlags, windowFlags);
}
</script>
...
What should I do now with the window id returned by the open method to access the AOM/DOM?
Any help will be appreciated.
Roman

