2 Replies Latest reply on Jul 5, 2009 9:51 PM by kumar1981

    append an Image to existing document

    kumar1981 Level 1

      Hai

        I am new to Indesign JavaScript. I want to add an image to existing indesign document. when i add an image to page, it is placed above the text.But i need, When i add an image at x=0,y=0 if any text already there it should be placed after the image.is it possible?

      Code:

      myPage.place(myGraphicFile,[0,0]);where myPage=app.documents.item(0).pages.item(0);if any text in 0,0 it should be placed after the image.

       

      Thanks in advance