doScript error: Unable to load Adobe InDesign Type Library (Version 1.0)
I am working on a JSX code that calls a VBS snippet at one point in the script. When I run the below snippet, I get this error: "104705: Unable to load Adobe InDesign Type Library (Version 1.0)" from the doScript line. I just installed Adobe CC on this PC machine; usually I'm working on Mac. Any thoughts here? Thanks. In the full snippet, I'm trying to use VBS to call Outlook to draft an email using info from the document, as well as an exported PDF file.
var unitTest = function() {
var vbs = 'MsgBox "Hello"';
app.doScript(vbs, ScriptLanguage.VISUAL_BASIC, undefined, UndoModes.FAST_ENTIRE_SCRIPT);
}
unitTest();

