Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Batch opening multiple text boxes in InDesign CS 5.5

Return to Member Forum

  • Author
    Posts
    • #61670
      Frank Design
      Member

      Hi,

      Does anyone knows if there is script for batch opening text boxes, with overflowed text, in InDesign?

      The way I am doing it now is going page by page opening overflowed text boxes but it is not a very efficient process.

      Thanks!

      Frank Design

    • #61671

      Here I posted a collection of scripts dealing with this problem.

      Hope it helps.

      Kasyan

    • #61673
      Frank Design
      Member

      Thanks for your reply Kasyan but I don't see any links in your post. Where should I go to get those scripts?

      Thanks

      Frank Design

    • #61675

      The word “Here” shows blue on my iPad, and indeed it is an hyperlink. (It takes you here: https://kasyan.ho.com.ua/find_o…..text.html)

      (Related reading: Christopher Dean's plea on Typophile to “Please, stop using “click here when writing” — click on the name of this article to read :) )

    • #61676
      Frank Design
      Member

      Duh!

      We all have blonde moments.

      Thank you guys!

    • #61677
      Frank Design
      Member

      I tried the script and it works with some files only. I am getting this error over and over.

      =======================================

      JavaScript Error!

      Error Number: 21
      Error String: undefined is not an object

      File: /Applications/Adobe InDesign CS4/Scripts/
      Scripts Panel/Frank scripts/
      resize_overset_textframes.jsx
      Line: 10
      Source lastFrame.fit
      (FitOptions.FRAME_TO_CONTENT);

      =======================================

      Do you have a fix for this?

      Thanks!!

      Frank Design

    • #61679
      Marc Autret
      Member

      frankdesign305 said:

      Do you have a fix for this?


      Try this code instead:

      //===================================
      var FO = FitOptions.FRAME_TO_CONTENT,
      tfs = ([]).concat.apply([], app.activeDocument.stories.everyItem().textContainers),
      t, i = tfs.length;
      while( i-- ) (t=tfs[i]).overflows && ( t.locked || t.fit(FO) );
      //===================================


      (Note that the native fit() method can only treat single column frames.)


      @+


      Marc

Viewing 6 reply threads
  • You must be logged in to reply to this topic.
Forum Ads