2 Replies Latest reply on Aug 7, 2008 7:34 AM by (Tim_M.)

    moving content from a rectangle to another rectangle

      Hi
      I have a small problem, i have two rectangles, one has content the other is empty. I would like to move the rectangle with the content to the other one.

      Usually i would do something like this:

      var recWithContent = .......
      var recWithOutContent = .....

      recWithContent.select();
      rec.WithContent.cut()
      recWithOutContent.select();
      recWithOutContent.pasteInto();

      that works, but the script should work on Indesign server too... and the server does not support selection and copy paste operation.
      So i need a workaround... for the copy paste operation.

      I don´t know how to handle that, hope someone has an idea.

      Thanks

      Tim