I have write one script file to run exe file. But I got error "ActiveXObject does not have constructor". Please anyone advice me why showing this error.
What you have posted is VBScript, not JavaScript. JavaScript--at least ExtendScript, the flavor of JavaScript used by InDesign--does not know anything about ActiveXObjects.
But you can use the execute method to run a file. Something like this (this is JavaScript):
var myFile = File("/c/Program Files/Microsoft Office/Visio11/Visio.exe");
myFile.execute();
I am struggling some issue. That exe file is to converting .xml to .txt files. I want that txt file is come automatically in InDesign Document.
I have tried that but i m struggling how i catch that .txt (file name) usign jaga script. I m using ID CS3 (WIN). InDesign has only import XML (myDocument.importXML) but how i ll call import this TXT file.