Indiscripts

Automating InDesign since 2009

Snippets

Mini-scripts and short re-usable samples.

The Great Folder Fiasco: A Tale of InDesign 20.1 and macOS

As a developer or InDesign scripter, you know how important it is to stay up-to-date on the latest changes and issues affecting your work. Here we'll tackle an obscure, low-level issue affecting InDesign 20.1 on macOS…

Continue reading...

InDesign 20 Goes to MathML — Part 1

The latest version of InDesign provides an internal solution for formatting math formulas. The underlying technology is a UXP WebView panel (Math Expressions) interacting with MathJax, a popular JavaScript package capable of processing maths in various formats. In this case, MathML as input and SVG as output…

Continue reading...

Please, InDesign, Show Me a Sample of That Style!

Trivial story: you just have reopened an old InDesign document — or even a fresh one — and dozens of obscure names populate the style panels. You do not remember what that pesky “TDM Sub2” style refers to, or what it looks like, or where it is used. So you'll have to run the F/C dialog, select a Find Format, etc. We have a faster solution: right-click the style and “Goto Sample”…

Continue reading...

15 InDesign Scripts and Snippets You May Have Missed

Indiscripts Goodies are available on GitHub too!If you visit this website from time to time, you know that it contains a plethora of free InDesign scripts, but you may not know that other cool nuggets are regularly open-sourced in our GitHub repository called IdGoodies. The latter being hardly documented, here is an overview of some scripts—and interesting code snippets—you will find there…

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

De la migration typographique des appels de note [MÀJ]

Affairé à délester mes répertoires de vieux scripts InDesign antédiluviens, je tombe sur un petit utilitaire qui me semble encore digne d'emploi chez les orthotypographes. Sa mission ? Repositionner les appels de note avant toute ponctuation fermante, comme l'exige la tradition…

Continue reading...

InstantUnicode | Insert Characters by Typing their Codepoint

Many fonts offer a wide range of Unicode characters. Does your text require a 'Ű'? Minion Pro has it. Go to U+0170 LATIN CAPITAL LETTER U WITH DOUBLE ACUTE. Or do you need an umbrella glyph? Segoe UI Emoji supports U+2602… Of course you can access any element from the Glyphs panel, but when you already know the codepoint to be rendered, why not just ask InDesign to parse the code you've just entered?…

Continue reading...

SelToPlaceholder | Get Your Selection “Lorem-Ipsumed”

Selection-to-Placeholder script for InDesign CS6/CC

Continue reading...

InstantVariable | Quickly Edit your InDesign Variables

InstantVariable for InDesign CS6/CC

Some InDesign documents rely on a set of user-defined text variables that expect to be updated on every new project. Think about that ISBN number which appears at different places and must be edited consistently. Variables are great, but InDesign makes them painful to handle. Hence the present script, which automatically opens an edit box whenever a variable is selected…

Continue reading...

InDesign Scripting Forum Roundup #13

Here are nine useful InDesign scripts extracted from one year of debate in the scripting branch of forums.adobe.com. There are snippets for every taste—text, layout, graphics, geometry, UI—so take a look!

Continue reading...

A “Symbol-to-Greek” Snippet for InDesign

Let's convert Symbol letters into true Greek characters.

Continue reading...

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

Continue reading...

InDesign Scripting Forum Roundup #12

Hey scripters, are you familiar with InDesign events, event listeners, menu actions, idle tasks? That's the hot focus of the 12th ISFR. Plus a fine selection of threads and snippets involving GREP, text, CMYK swatches, IDML, transformations… Enjoy the ride!

Continue reading...

AutoStick | Simple Diagrams Made Easy

Duplicate and Link Text Frames by just typing magic keys.

Continue reading...

How to Shuffle Characters the Right Way

While fine-tuning a layout you usually need to put some dummy text in your template. The common way to fill a frame with lorem-ipsum-like data is to call Type > Fill with Placeholder Text. But sometimes you already have an actual text in place, and then your missing feature is the ability to scramble existing characters. Thanks to IdExtenso we can write a nice and fast scrambler, based on Markov chains…

Continue reading...

InDesign Scripting Forum Roundup #11

What's on the menu for this 11th episode? My personal selection of the most interesting, verbose, and technical discoveries that took place in the InDesign Scripting Forum within the last eight months. Each topic (and code snippet!) will teach you something you probably didn't even suspect…

Continue reading...

Clean up your Pasteboard! [UPDATE]

With CleanupPasteboard, let's get rid of the unnecessary objects left on the pasteboard

Continue reading...

InDesign Scripting Forum Roundup #10

InDesign scripts may involve unexpectedly complicate solutions for addressing tasks that seemed initially quite easy, as well as unexpectedly simple codes for solving crooked problems! The mood of the 10th episode of our ISFR series reflects this ambivalence quite well. As usual I try to focus on scripts, snippets, and methods, that open up powerful tracks to informed developers…

Continue reading...

Drawing Spirals in InDesign

Bézier curve approximations of Archimedean spirals

Continue reading...

- Page 1 of 3