Fit Frame to Content

Viewing 2 reply threads
  • Author
    Posts
    • #102469
      Robert Blackmore
      Participant

      I have about 40 diagrams that have 3 to 10 text boxes around each diagram. All these text boxes need to Fit Frame to Content. Is there a way (or script) to of do them all (hundreds) at once or do I have to manually select each one, right mouse click and Fit Frame to Content?

      Help!

      Robert

    • #102470

      Hi Robert,

      Are these text boxes the only ones on these fourty pages?

      Best,
      Michel, from FRIdNGE
      [email protected]

    • #102540
      Colin Flashman
      Participant

      There is a script that ships with Adobe InDesign called SelectObjects.jsx – run that script and it will display a user interface asking what you want to select. Uncheck what you don’t want to select and run the script, and then all specific items (on a spread only) will be selected.

      If you don’t want to uncheck boxes all the time, open the script in a text editor such as text wrangler and look for the following lines of code:

      var myRectanglesCheckbox = checkboxControls.add({staticLabel:”&Rectangles”, checkedState:true});
      var myEllipsesCheckbox = checkboxControls.add({staticLabel:”&Ellipses”, checkedState:true});
      var myPolygonsCheckbox = checkboxControls.add({staticLabel:”&Polygons”, checkedState:true});
      var myGraphicLinesCheckbox = checkboxControls.add({staticLabel:”&Graphic Lines”, checkedState:true});
      var myTextFramesCheckbox = checkboxControls.add({staticLabel:”&Text Frames”, checkedState:true});
      var myGroupsCheckbox = checkboxControls.add({staticLabel:”G&roups”, checkedState:true});
      var myImagesCheckbox = checkboxControls.add({staticLabel:”&Images”, checkedState:true});
      var myPDFsCheckbox = checkboxControls.add({staticLabel:”P&DFs”, checkedState:true});
      var myEPSsCheckbox = checkboxControls.add({staticLabel:”EP&Ss”, checkedState:true});

      to make any checkbox unchecked, change the checkedState:true to checkedState:false

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
>