UBComBridge

Module for working with COM objects

Usage sample:

 var com = require('UBComBridge');
 var word = com.createCOMObject('Word.Application');
 word.open({filename: 'myFyle.doc', readonly: true});
 word.open('myFyle1.doc');
 word.quit();

Members

createCOMObject static

Create new object - implementation of OLE object.

Returning object has the same properties and methods like original COM object. Names of methods and properties are case-insensitive. If com-object has get-properties with parameters they implements in JS-object as functions.

Method can take unnamed parameters(normal usage), you must use the correct order of the parameters, or named parameters(in this case you use 1 object parameter with property name as parameter names and property values as parameter values)