3 Replies Latest reply on Jan 15, 2009 11:08 PM by (JerrodHill)

    How to start Indesign with JS

      To start Indesign and create a new document with VBS I use this code:

      Set myInDesign = CreateObject("InDesign.Application.CS3")
      Set myDocument = myInDesign.Documents.Add

      With JS the second line will be:
      var myDocument = app.documents.add();

      but how I can write the JS code for the first line?