Questions tagged [indesign-scripting]

Questions about the automation and extending of functionality through the use of scripts within Adobe InDesign.

Filter by
Sorted by
Tagged with
7
votes
3answers
2k views

Encyclopaedia-style InDesign running headers, where pages have many, one or zero headings

So, you can have a heading running on each page that varies automatically based on the most recent heading (or, occurrence of any other paragraph style) by putting text with InDesign text variables ...
4
votes
3answers
1k views

Mass export all images as individual JPEGs in InDesign?

I am new to Indesign. I have a file that contains images with Photoshop clipping paths. I want to export all the clipped images in a folder. I have tried doing the "Copy Links To" and it successfully ...
1
vote
1answer
2k views

InDesign script to replace all fonts in a document

I realize that this can be done with the find font dialogue box but I have too many files that require this text update to make that method practical. I've tried tinkering around with GREP but I'm ...
1
vote
1answer
5k views

Script for applying character style on text after inserting it from variable

I need a script for InDesign which do the following: insert text string from variable and format it with existing character style. The previous to last string does not working in my attempt: var ...
6
votes
1answer
157 views

Adobe InDesign: Set text justify for every other line

I'm looking for a solution to achieve something like the image below. I want to set justify and hyphenation for paragraphs except odd lines.
2
votes
3answers
316 views

Convert paragraphs to specific style based on content?

I really like plain text writers, such as Ulysses and the recently found Bear (both Mac). I'm currently writing my thesis and I enjoy styling. However, something that really annoys me is the gap ...
8
votes
3answers
3k views

Script to always save IDML with INDD

Is there an existing script for InDesign that will save an INDD file and an IDML copy at the same time? I work with dozens of independent designers on collaborative projects, and those of us with ...
1
vote
1answer
895 views

How can I quickly turn all objects of a layer to independent layers in InDesign?

How can I quickly turn all objects of a layer (text boxes, shapes, lines, etc.) to independent layers in InDesign ?
2
votes
2answers
1k views

InDesign GREP everything between two consecutive returns and a digit(or)return

Say I have some text in the following format: What I am trying to style, using GREP, is the beginning of every new paragraph (that comes after an empty line), until a digit or return is reached, so ...
1
vote
1answer
4k views

How do I export an InDesign document to separate files with a different layer turned on in each?

I have a one-page InDesign document with 50+ layers. Each layer contains a single logo file, and I need to export the document to a PDF with one layer turned on per page. Ideally, I'd like to export ...
1
vote
2answers
2k views

InDesign: script to "paste in place" selected objects to all unlocked layers

I am trying to build a script to "paste in place" all selected objects to all unlocked layers. My attempt is probably nearly there, but something's not working. var myDoc = app.activeDocument; var ...
0
votes
1answer
117 views

How do I automate placing footnote references in specific places?

I'm working on a book and I have to format a lot of .pdf text in InDesign as part of the book. A lot of formatting problems can be fixed using GREP. However, I don't think it's possible to use GREP to ...