Indiscripts

Automating InDesign since 2009

Improve the Way you Merge Cells in InDesign

In a recent tutorial from ExpertsGraphiques (in French), Pierre Labbe has demonstrated a GREP-based method to merge two adjacent columns in a table while preserving the corresponding rows. It lies in fact that InDesign does not offer a so basic functionality! The “Merge cells” feature (which you access from the Table menu) is confined to globally merge all selected cells in a single one. Although P. Labbe showed great ingenuity, it seemed natural to investigate a more effective approach…

Continue reading...

Cyclic GREP Styles

Color Cycle based on GREP Styles.

Continue reading...

Cloning and Syncing Objects in ID CS5.5

Factorization is a profound paradigm in graphic design. Of course designers want to focus on newness, and they hate repeat what is already done. But this is a hard battle, because their work is mainly about pattern, analogy, iteration, derivation, and update, so they often have to deal with reusing the same stuff in a different way. Let's go further on this subject.

Continue reading...

InDesign Scripting Forum Roundup #2

As opened in the “InDesign Scripting Forum: 25 ‘sticky’ posts” article, I will regularly feed this section with recommended discussions and/or snippets which I have contributed to through the ID Scripting Forum. Here is the scripting stuff I found specially interesting over the last six months…

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

ExtendScript RegExp Tester

Test your Regular Expressions in ExtendScript

Continue reading...

How to Detect a “Ghost Item”

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:

Example of ‘ghost’ anchored item.

Continue reading...

IndexMatic 2.025 | New-Release Notes

Notice to all indexing experts! IndexMatic 2.025 for InDesign has just been released with an impressive number of new features and goodies: the Hit Report retrieves words and stats before indexing, the Query Editor has been entirely redesigned, queries now allow comments and cross-references, and finally IndexMatic² regular expressions support Unicode properties and five additional metacharacters “you can't live without.”

Continue reading...

ShowHideQuotes : révélateur de citations

Le script ShowHideQuotes permet de révéler / masquer automatiquement les passages entre guillemets du document actif.

Continue reading...

What Exactly is a Word?

A number of InDesign scripts manipulate words for counting, indexing, or other processing purposes. Given a text container—basically a Story—the InDesign Scripting DOM provides many ways to handle text contents through specialized subclasses of the Text interface: one can easily access to insertion points, character ranges, lines, paragraphs, text columns, styled-text chunks, and… words. Although this concept seems pretty straightforward, I tried to understand a bit better what it really means.

Continue reading...

Notes on ‘fastEntireScript’ Undo Mode

In April 2009, Thomas Silkjær reported a bug on app.doScript that alters the ‘undo’ feature in InDesign. Although this issue has been fixed in CS5, there are still some pitfalls to beware of when you want to speed up your script through fastEntireScript

Continue reading...

Transforming Spreads in InDesign CS4-CS5!

Wanna scale, rotate, skew spreads in InDesign? This ‘feature’ is available since CS4!

Continue reading...

IndexMatic² | Public Release and User's Guide

IndexMatic² is a powerful and highly configurable word-indexing tool for InDesign CS3, CS4, and CS5+ (Mac and Win). The present release (v. 2.02) offers completely new features: ‘sub-topic’ processing, XML export, InDesign snippet generation, and much more! “This script is a truly wonderful achievement. It's versatile, clever, and lightning fast, and the options are sensible.”—Peter Kahrel, June 2011.

Continue reading...

InDesign CS4/CS5 Special Characters [Update]

Download “InDesign CS4/CS5 Special Characters and Metacharacters” (PDF)

Comparing the Performance of ExtendScript Snippets

Although jsPerf is a very effective tool in a pure JavaScript environment, you may want to benchmark competing code snippets in the specific ExtendScript field. Here is a simple way to test and improve your InDesign scripted functions…

Continue reading...

A Simple Script to Fix Table Widows

FixTableWidows in action (InDesign CS4/CS5).

Continue reading...

Comment paramétrer les espaces dans InDesign

Le contrôle des espaces (chasse, justification, etc.) est le lieu d'une divergence historique entre XPress et InDesign. Tandis qu'InDesign propose une douzaine d'espaces distinctes qui semblent emprisonnées dans leur sémantique Unicode, XPress a souvent été considéré comme un outil plus flexible du fait qu'il ouvre à l'utilisateur le pouvoir de définir lui-même les valeurs d'espacement et les plages de variation dont il a besoin. Cependant, le déficit d'InDesign n'est pas aussi définitif qu'il y paraît…

Continue reading...

Permutation d'objets dans InDesign (miniscript)

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…

Continue reading...

So What's New in InDesign CS5.5 Scripting DOM

The interesting thing about tracking Scripting DOM changes from InDesign CS5 to InDesign CS5.5 is that this instantly reveals the main innovations of this ‘mid-cycle’ release —so that scripters can easily focus on the freshest features. The below PDFs offer you in a snap the tip of the iceberg: the new Article component and a bunch of new export options (HTMLExportPreference, EPubExportPreference, StyleExportTagMap, ObjectExportOption) that indicate the much greater integration of InDesign EPUB and digital publishing capabilities. Enjoy!

Download “What's New in InDesign CS5.5 Scripting | Object Members” (PDF)

Download “What's New in InDesign CS5.5 Scripting | Enumerators” (PDF)

• See also: “So What's New in InDesign CS5 Scripting DOM”

InDesign Scripting Forum: 25 ‘sticky’ posts [roundup]

The InDesign Scripting Forum is an ideal place to post scripting recipes and to address technical issues. I learn a lot from its famous contributors —Dave Saunders, Harbs, Jongware, Peter Kahrel, Kasyan Servetsky, Marijan Tompa… At odd times I post my own brainchilds. Here is a small selection of snippets and topics that I think are worthwhile.

Continue reading...

- Page 10 of 13 -