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?…
Tag : PageItem
The Magic Parent Bounding Box
August 04, 2022 | Tips | en
Drawing Sine Waves in InDesign [UPDATE]
March 21, 2021 | Snippets | en | fr
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…
Resizing vs. Rescaling in Equalizer
February 23, 2018 | Equalizer | en | fr
User's question: “What's the difference between Multiply by and Rescale to in Equalizer? It looks like both functions have the same effect on the targeted frames of my document.” Very good question indeed! Let's reveal the little subtleties behind it…
Equalizer PRO 3.0 released!
October 11, 2016 | Equalizer | en | fr
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…
New Features in Equalizer 3
April 19, 2016 | Equalizer | en | fr
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…
Introducing Equalizer 3 for InDesign CS4-CC (UPDATE)
June 23, 2015 | Equalizer | en | fr
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.
Introducing RagingHull for InDesign CS4-CC
February 03, 2015 | RagingHull | en | fr
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…
How to Augment and Process Nested Groups (CS4-CS6)
October 22, 2012 | Tips | en
Dealing with groups is a major headache for InDesign scripters. On one hand, the Group
object has no injection method to offer, which makes difficult to append existing page items into a given group. On the other hand, although the Groups
API exposes a promising add()
method, nobody has ever managed to use this feature from any PageItem.groups
area, so we seem doomed to perpetually rebuild groups from scratch.
How to Detect a “Ghost Item”
October 20, 2011 | Tips | en | fr
A “ghost item” is an anchored / inline page item (text frame, spline item, etc.) which is temporarily hidden because its parent character is in an overset area:
Permutation d'objets dans InDesign (miniscript)
April 19, 2011 | Tips | fr
Non sans témérité, Stéphane Baril et David Deraedt nous ont récemment accueillis sur le plateau de Chips & Tips, la célèbre série d'Adobe TV dédiée à la diététique productivité. Au détour de cet épisode, Loïc Aigon et votre serviteur proposons une sorte de préambule aux techniques d'automatisation et de scripting dans la Creative Suite, avec quelques illustrations simples et directement accessibles aux néophytes. Vous y découvrirez notamment la version embryonnaire du script SwapItems utilisé pour permuter des objets dans une maquette InDesign…
Equalizer | Let's Copy/Paste Coordinates in InDesign! [OBSOLETE]
November 18, 2009 | Equalizer | en | fr
This post is now obsolete. Please check out the new version of Equalizer. The old version for CS4 is still here.
Work Around the Width/Height Gap
October 17, 2009 | Tips | en
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...
Take a Walk on the Timeline
July 06, 2009 | Snippets | en | fr
When he was working on the terrific Ibsen's “Brand” eBook, Klaus Nordby asked me for a little gadget to finish off the building of his work. He needed a “page-timeline-indicator” graphic at the bottom, which visualizes the exact place the reader is currently reading. So what the book designer wanted for Christmas (or before!) was a neat InDesign script which automatically calculates such a timeline walker and shows the input. Let us see how Klaus' prayer has been answered...