0 Replies Latest reply on Sep 29, 2008 8:59 AM by Emanuele Radaelli

    Placing a snippet

    Emanuele Radaelli Level 1
      Hello everybody.
      I have a snippet I bulit in ID CS3 with an image and two text frames.
      I'm importing it in a new document using this code:

      var snippetAddress = "/Users/User/Desktop/Snippet.inds";
      var myDocument = app.activeDocument;
      var snippetFile = new File (snippetAddress);
      myDocument.place(snippetFile);

      but the snippet is waiting to be placed within the cursor...
      I placed images and it was easy to referr to them using images object, but how can I do it with a file built with multiple frames?
      I tried something like this:

      var snippetPosition = [0,0];
      snippetFile.move(snippetPosition);

      but it doesn't work...

      C!