15 Replies Latest reply: Aug 14, 2012 12:17 AM by bala281972 RSS

    Quit InDesign and open Illustrator

    piggychops

      How to quit InDesign and open Illustrator using Indesign javascripting?

       

      Here is my code:

       

      //Quit Indesign

       

      myDocument.close ( SaveOptions.NO );

       

       

      //OPEN IN ILLUSTRATOR

       

      #target illustrator

      app.documents.add(DocumentColorSpace.CMYK, width = 1024, height = 768);

       

       

      But in this code the script will perform only illustrator operations... It wont quit the indesign file...

       

      Can any one help me...