2 Replies Latest reply on Jul 28, 2009 6:06 PM by kumar1981

    place overflow text



        I am working on Adobe Indesign JavaScript. I don't know what is the code i have to use to place the oveflow text,If my textframe overflows.



             // code


      Awaiting for ur reply.

        • 1. Re: place overflow text
          [Jongware] Most Valuable Participant

          This sample creates a place for the overflow text to go. The first two lines are for testing -- select a non-overflowing frame and run the script (nothing happens), then select an overflowing frame and run the script (... something happens).


          mytextFrame = app.selection[0];
          if (mytextFrame.constructor.name == "TextFrame")
            if (mytextFrame.overflows)
              mytextFrame.nextTextFrame = app.layoutWindows[0].activePage.textFrames.add({geometricBounds:["12mm","10mm","200mm","120mm"]});


          Perhaps we can skip a few more mails by telling what it is you need --  a complete, working, fully debugged and tested Javascript, written by an expert, or a hand in writing one yourself, step by painful step? To do what -- read XML and parse/place the text, fully automated?

          • 2. Re: place overflow text
            kumar1981 Level 1

            Hi Jongware,


                     Thank you very much. It is working....