Posts filed under: Scripting

InDesign makes it surprisingly difficult to break the link between two text frames without otherwise modifying the layout. The official way of breaking the thread between frames is to click the in-port or out-port of a text frame, and then...
Continue Reading →
Adobe removed the old “layout adjustment” feature from InDesign 2019 and replaced it with the new “adjust layout” feature. Yes, that’s as confusing as it sounds. I guess their idea was that the new feature is a replacement for the...
Continue Reading →
I just updated the HTML Import script. It is now much faster and more reliable, and should be successful with more websites. Initially, the script didn’t get much traction, but in the last few months I’ve noticed more people trying...
Continue Reading →
A free InDesign script to generate a list of all languages in use in a document In InDesign, text has a language attribute. This means that all text in InDesign is defined as being a certain language – one of...
Continue Reading →
While working on a book in InDesign recently, I needed to switch the position of two paragraphs throughout the 400-page book. There were 2 paragraph styles involved: A “Quote” style, and a “Source” style. In the book as I had...
Continue Reading →
Here’s a little routine that will paste text in a more expected way than InDesign handles it. Fuller explanation to come, time permitting, but check out the link to the Adobe Forums below to understand the issue. This script was...
Continue Reading →
InDesign forces designers to set the page margins by number only. You have to open the Margins and Columns dialog, and type in the distance of the margin from the top, left, bottom, and right of the page. This is...
Continue Reading →
Over on the Adobe InDesign Scripting Forum, Bob Levine asked: I have a client in need of a script to print every nth page in an InDesign book. The book could be more than 20,000 pages so manually entering page...
Continue Reading →
Using FormMagic or FormMaker is a 2-step process. First, FormMagic must be run on the InDesign file. Then, it must be run again in Acrobat on the resulting interactive PDF. In this post, I will show how to create an action in Acrobat...
Continue Reading →
July 2018 UPDATE: If you’re looking to export multiple PDFs, using multiple PDF export presets, into multiple folders, using super-flexible filenaming options (including filenames based on the contents of the page itself), our newly updated Extract Pages script is for you!...
Continue Reading →
Italic-formatted text followed by roman (upright, regular) text can cause typographic problems: the leaning italic letters collide with the upright roman in front. Italic f is particularly problematic, especially as the last letter in a parenthetical comment (what if) where it...
Continue Reading →
The following script is a short and sweet way of moving all text in an InDesign anchored object out of its little cage and into the main text flow of the document. If you have an InDesign document peppered with...
Continue Reading →
Word has a nice feature that lets you select some text and press Shift+F3 to cycle between all the available capitalization modes: so you cycle through the options like this: cycle > Cycle > CYCLE > cycle just by pressing...
Continue Reading →
This is something that has bugged me often with InDesign. Although InDesign has a way of setting an object style to be “default” (in the object styles panel just drag the [T] to your preferred default style), that default setting...
Continue Reading →
Many of the posts on this blog include fully-functional sample scripts. To use these sample scripts, you must copy–paste them into a text editor such as Notepad (not into a word processor!) and then save them with a .jsx extension. The...
Continue Reading →
A few weeks ago on the Adobe InDesign scripting forum, InDesign Guru AnneMarie Concepcion asked for a script that would allow the user to select a bunch of files and automatically place them inside an InDesign document, one after the other:...
Continue Reading →
If you need to save an InDesign document as separate pages or separate spreads, Extract Pages is for you. Tested on Windows and Mac, works on CS6 upwards. (The main product page for this script is here.) Specify multiple ranges, and save as...
Continue Reading →
I was recently needing a way to clear all overrides in a 100+ page book. The book was divided into many separate stories, so it was not possible to simply “select all” and click on the “Clear overrides” button. Instead...
Continue Reading →
If you’re a guest at someone’s house, wouldn’t you agree that it is bad manners to leave a mess behind you when you go? Likewise, when a user runs your script, I’m sure you’d agree that the user shouldn’t have...
Continue Reading →
If you’re converting print publications to ePubs, you’ve probably come across this problem: The print publication typesetter (or compositor, as they are also called) has used InDesign’s all-caps text property for some paragraph styles. For instance, the chapter headings may...
Continue Reading →
JavaScript’s Date object can be a difficult beast to tame. In terms of the number of properties and methods it has, it must be one of the largest core JavaScript classes out there. However, using it requires some careful thinking,...
Continue Reading →