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…
Tag : Transformation
June 14, 2016 | Tips | en
Chapter 4 of our “Spaces & Transform” eBook is probably both the trickiest and the most important. It tries to reveal the intricacies behind the Scripting DOM
resolve() method, the unique tool for setting and processing InDesign locations with respect to the underlying coordinate systems. I spent months figuring out its obscure syntax and improving my knowledge on that particular topic. Understanding the location resolver is a crucial step for developing scripts that can deal in depth with geometry and transformations in InDesign.
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…
October 18, 2015 | Tips | en
Dealing with coordinate spaces and transformation matrices is one of the most obscure and underappreciated exercises in InDesign scripting and programming. The fault mainly lies with Adobe documentation, especially the Scripting DOM reference, which does not clearly explain the topic and some of its essential keys. The following document (PDF, Chapters 1-3) attempts to shed some light on the beast…
• Next chapter now available: “Coordinate Spaces & Transformations in InDesign — Chapter 4”
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.
March 18, 2015 | Tips | en
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.
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…
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.
“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?