In addition to the full answer you could take a note that "ActiveXObject" is not supported by the ExtendScript javascript used by InDesign. Instead a separate set of File handling objects/methods is implemented, that works for MacOS and Windows. ActiveXObject is probably windows specific.
↧