Indiscripts

Automating InDesign since 2009

Tag : Bounds

The Magic Parent Bounding Box

Now what is the geometry of that cell?Geometry in InDesign can get deadly complex. Take a document, create a frame, insert a table, change a particular cell into a “graphic cell,” convert its inner object into an ellipse, play with strokes, rotate and scale the object, transform the parent frame in the fanciest way. Then ask yourself the question: what are the exact coordinates, shape or area of the final table cell?…

Continue reading...

PageBorder | Show your Clients the Limits! [UPDATE]

PageBorder UI (script for InDesign CC/CS6/CS5/CS4).

Continue reading...

Drawing Sine Waves in InDesign [UPDATE]

Bézier curve approximation of sine waves

Computing Bézier curves that really look like sine waves is an exciting challenge for script developers. One needs to deal with both optimizing control points, transforming coordinate spaces and splitting curves. Here is a function that solves it all in ExtendScript for InDesign…

Continue reading...

ScriptUI vs. UI Scaling

From CC 2014, InDesign and Illustrator interfaces needed to adapt to OS “scale settings” strategy on 4K/Retina displays. And with Windows 10 defaultly scaling at 150% in such resolutions, Adobe engineers were forced to rework their famous HiDPI support, which led to introduce UI Scaling in the Preferences dialog box. So far, so good. But ScriptUI has not been fully “informed” of these new rules…

Continue reading...

FillBleed | Fix Image Frames so they Meet the Bleed Edge [Update]

Continue reading...

AutoStick | Simple Diagrams Made Easy

Duplicate and Link Text Frames by just typing magic keys.

Continue reading...

Equalizer PRO 3.0 released!

How much do you spend on manually repositioning objects, resizing or adjusting all frames when your layout is changing? How many times did you need to move all main blocks by a given offset on every page? Or to reset the scale of every inner image? Think about the time you lost in repeating those daily boring tasks again and again, then take a giant step in loading Equalizer 3 in your InDesign toolbox. Batch positioning and resizing in InDesign is now as easy as clicking the Run button…

Continue reading...

Drawing Spirals in InDesign

Bézier curve approximations of Archimedean spirals

Continue reading...

New Features in Equalizer 3

While achieving Equalizer 3 I have implemented new—and old!—functionalities such as the Page Side Selector (so that you can manipulate right-sided pages only, for example) and (the much awaited return of) the Swap items feature. Here are a few snapshots of the next version…

Continue reading...

Introducing Equalizer 3 for InDesign CS4-CC (UPDATE)

Suppose you need to shift a bunch of text frames by 10mm from the central axis of your layout (10mm to the right for right-hand pages, 10mm to the left for left-hand pages). Or suppose you have to reset to 90% the height of every picture owned by your "Thumbnails" layer… over the whole document! Or imagine any other daily boring task that involves changing locations and/or dimensions of objects in a repeated way. Equalizer 3 is just a powerful tool for designers who want to save their phalanges.

Continue reading...

Introducing RagingHull for InDesign CS4-CC

Having fun with InDesign bounding boxes!

RagingHull, free script for InDesign CS4/CS5/CS6/CC)While studying bounding boxes and transformations I realized we could get nice patterns based on successive rotations applied to a given shape. As InDesign instantly determines the coordinates of the enclosing rectangle whatever the page item transform state, I had fun in drawing those boxes while varying strokes and angles. Jongware made similar experiments with its famous Spirographs script. RagingHull is just another free toy that reveals the bounds of a spinning object…

Continue reading...

Getting Started with InGutter 2 for InDesign CS4-CC [UPDATE]

InGutter 2 (script for InDesign CS4/CS5/CS6/CC)

Continue reading...

TotalRescale | Last-Minute Layout Adjustment

TotalRescale for InDesign CC/CS6/CS5 makes it easy to shift and/or rescale your layout.

Continue reading...

Dealing with Rotated Spread Views in a Script

“Rotate the spread view” is a nice feature introduced in InDesign CS4. It will prevent you from getting a stiff neck when working on rotated contents such as book spine or landscape tables. Great! Now the bad news: it seems that the DOM does not provide any means to check a rotated spread by scripting. No property, no access method. So what?

Continue reading...

Equalizer | Let's Copy/Paste Coordinates in InDesign! [OBSOLETE]

This post is now obsolete. Please check out the new version of Equalizer. The old version for CS4 is still here.

Continue reading...

Work Around the Width/Height Gap

Believe me or not, the InDesign DOM can't return directly the width and the height of a page item frame! Scripting beginners may be confused about this gap. There are many pitfalls to be aware of when we deal with dimensions and units. Let's talk about bounds and coordinate spaces...

Continue reading...