Fit Frame to Content
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Fit Frame to Content
- This topic has 2 replies, 3 voices, and was last updated 5 years, 12 months ago by Colin Flashman.
-
AuthorPosts
-
-
March 17, 2018 at 7:41 am #102469Robert BlackmoreParticipant
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
-
March 17, 2018 at 8:07 am #102470Michel Allio for FRIdNGEParticipant
Hi Robert,
Are these text boxes the only ones on these fourty pages?
Best,
Michel, from FRIdNGE
[email protected] -
March 21, 2018 at 7:48 am #102540Colin FlashmanParticipant
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
-
-
AuthorPosts
- You must be logged in to reply to this topic.