Indiscripts

Automating InDesign since 2009

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...

Can InDesign Script Rewrite Itself?

As illustrated by the YALT technique, it's easy —and powerful!— to let a script read its own bytes while it is running. We could even go further and get a script to update itself to achieve some advanced functionalities.

Continue reading...

InGutter Howtos | 7 Essential Tips

Download “InGutter Howtos” (interactive PDF)


This file is outdated. Discover the new version of the script from the InGutter's Main Page.

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...

Switching InDesign's UI Language (in Windows)

In a recent post, David Blatner (InDesignSecrets) offered us a free Mac OS application for InDesign to be displayed in various languages. Amazing tool for experiencing the user interface as translated for other countries. Fortunately Windows users can switch the UI too, by means of the Windows Registry.

Continue reading...

InGutter | Script Available for Beta Test

InGutter gives the user the ability to effortlessly create, design and manage a set of rules between text columns in InDesign CS3/CS4. This free JS script implements and extends the technique explored in Indiscripts a few weeks ago. Try the beta version, and tell me.

Continue reading...

« Grep et InDesign CS3/CS4 »

« Grep et InDesign CS3/CS4 », par Laurent Tournier, à paraître chez Dunod

Continue reading...

Introducing InDesign Column Rules

Rules between columns are so usual —in newspapers, in technical books...— that nobody could explain why InDesign does not yet provide this functionnality. That's a big mystery. Layout designers have anchored objets, Grep styles, conditional texts and so much great tools improved by leaps and bounds, but vertical column rules, please? “Move along now, there's nothing to see!”

Continue reading...

Restoring the Footnotes into the Story

The task of reinjecting the InDesign footnotes into your main text might seem unusual, but there are some circumstances where you will be happy to have the “UnFoot” script close at hand.

Continue reading...

Yet Another Localization Technique (YALT) – Part 2

In the previous episode, we designed a light-weighted markup syntax for localized strings of any JavaScript based projects. Now let's see how to get a generic and simple access to those L10N data.

Continue reading...

Yet Another Localization Technique (YALT) – Part 1

When you need your script's user interface to be translated according to the InDesign application locale, the common approch is to invoke the localization ExtendScript feature. The process is pretty straightforward, except that —in a verbose UI— you will have to create and manage many “localization objects”.

Continue reading...

Take a Walk on the Timeline

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...

Continue reading...

Web Color Picker

InDesign is definitely not a solution for web designers. For example, look at the Swatches panel, isn't it the worst tool to select or create “web colors” in the #rrggbb hexadecimal format? Fortunately, the ScriptUI elements bring a way to build our own “Web Color Picker”, interacting with the swatches.

Continue reading...

How to Quickly Test a Sample Code

Sometimes you just need to test a short snippet without having to create and install a complete script. Suppose you want to check some object properties, or to evaluate a simple JavaScript expression. It is easy to write and interprete your instructions from the ExtendScript Toolkit, but it would be even faster to do the whole job from the InDesign user interface.

Continue reading...

Grep Style Gradual Stretch

Is it possible to automatically stretch a text according to its length? The question is simple and the answer is not that complex, thanks to the InDesign Grep Styles.

Continue reading...

Type your Code

JavaScript is often considered as a weakly typed language. It means —among other things— that we don't need to tell explicitly what kind of variables we handle, or what kind of arguments we provide to a given function. String? Integer? Boolean? In most cases, everything will work without ever declaring the type.

Continue reading...

Page 13 of 13 -