Home › Forums › General XMetaL Discussion › Tabs in Resource Manager › Reply To: Tabs in Resource Manager
Reply to: Tabs in Resource Manager
August 26, 2010 at 6:43 pmYou'll need something like this in your page:
[code]//JScript:
var xmapp = new ActiveXObject(“XMetaL.Application”);
var path = “c:\test\mydoc.xml”;
xmapp.Documents.Open(path);
xmapp = null;[/code]
Make sure to force the reference to “XMetaL.Application” to null as soon as possible to force the JScript garbage collector to run so that XMetaL Author can shut down properly.