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

learn more… | top users | synonyms

11
votes
1answer
11k views

Endnotes in InDesign: Closest thing to a pain-free, flexible workflow?

It's an age-old complaint: up to and including CS6, InDesign supports footnotes, but not endnotes. Documents, books, reports etc aren't going to stop needing endnotes because Adobe don't support them. ...
9
votes
1answer
3k views

Indesign auto column width size for table based on the data containing?

I have a lot of tables that designers have to adjust slightly to fit the content. This takes a large amount of time in our process and I would like to know if there is anyway to skip this? Perhaps a ...
6
votes
1answer
425 views

InDesign script to verify spelling and grammar

I was curious to know if there is a way to or a script available within InDesign (any solution alternative is preferred) that I can batch check spelling and grammatical errors with either .indd or ....
6
votes
1answer
240 views

Script to create heat map in InDesign 5.0 PC?

I have a table with digits. I want to change the percentage of the fill of each cell to this digit. Example:
5
votes
3answers
1k 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 ...
5
votes
1answer
99 views

Table of content with page number and quadrant

I want to create the table of contents automatically and depending on where the linked word appears on the two columned pages there should also be mentioned the quadrant after the page number in the ...
5
votes
1answer
670 views

How to OTF export the font I created in Indyfont?

I've created a custom made bullet and used the indyfont script to set up the export but I'm not able to click on the the OTF export button. I'm not sure what to do.
4
votes
2answers
73 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 ...
4
votes
2answers
372 views

InDesign, Grep and Syntax Highlighting

I have to make an e-book that contains code snippets. I am using GREP to select all code tags (bounded by <> — triangular brackets), and apply a custom style to them. The RegEx I have developed: ...
4
votes
1answer
420 views

How can I use GREP to get all text between the third and fourth underscore in a file name?

In the firm I work for, they have file naming system. It always has 5 sections as in the examples below: File Name: YYMMDD_PROJECT NUMBER_PROJECT NAME_FILE NAME_initials.ext 140527_207_AL MURR ...
4
votes
1answer
590 views

Script for InDesign that checks for halftone spot colors?

Thanks to the help of various people here, I've just about nailed this script for InDesign that I'm working on. There's only one other bit that, while not 100% necessary, I would love to be able to ...
3
votes
2answers
337 views

Number paragraphs at end in Indesign

I am creating a document which needs to have the paragraphs numbered at the end. For example: "If you don’t want to use one of the existing bullet characters, you can add other bullet characters to ...
3
votes
1answer
627 views

Indesign script to apply paragraph style to alternating paragraphs

I have an Indesign document with the following structure: paragraph 1 blah blah blah blah blah blah blah blah paragraph 2 blah blah blah blah blah blah blah blah paragraph 3 blah blah ...
3
votes
1answer
2k views

Resizing ALL images on ALL pages in Indesign Document

i'm looking for an easy way to resize roughly 40 pages of barcode PNGs in indesign. If i can cut off approximately 50-60% of each barcode....well, you can see how many pages i would save at the ...
3
votes
1answer
386 views

Is there a way to script InDesign to read the EXIF information of a photo?

I'm thinking of making a photo portfolio in InDesign and I have the following functionality in mind: First I would make a document of several pages containing placeholder images. Each page has a ...
3
votes
1answer
591 views

Is it possible to automatically remove the same object from every page in InDesign?

I have a pre-made document and I want to remove a line (same length, same stroke, same color) from every page. Is there a quick way to do this aside from deleting manually?
3
votes
2answers
5k views

Unique serial number on page each time a pdf or indesign doc prints

I have to design a document for internal use that needs a unique serial number on copy of the sign off sheet. I'm aware that InDesign has a numbering function (to number book/magazine pages) but what ...
2
votes
1answer
930 views

Indesign script (Javascript) to return/select words around insertion point

Consider the following text: She sells sea shells. Say my insertion point is currently at a blank space between two words, i.e. app.selection[0].characters.length < 1 I need to select or ...
2
votes
1answer
518 views

Indesign script to add/change text in a paragraph

There's a particular paragraph in my document and I want to replace its content completely with something else programatically. Is there any function to do this? I need something like this: app....
2
votes
2answers
123 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 ...
2
votes
1answer
50 views

Is there a way to annoate a layout with the file source in indesign?

Is there a way to print / export a indesign file as a pdf or other but first annotate any images with the file source ie. user/documents/images.. etc so that whens its printed / exported it will say ...
1
vote
1answer
168 views

How can I automate this repetitive Design?

I need to put a pre-written dialoge into graphical chat boxes using Adobe InDesign CC 2015. I've finished the Chatbox and everything I'm doing now is Copy and Paste, Align correctly to other ...
1
vote
1answer
298 views

Why does grouping or moving textboxes break the script?

I am a beginner at writing scripts for InDesign (just started today!). I have somehow managed to write a script which auto-fills a text box with a list of the linked images within the document. ...
1
vote
1answer
299 views

Indesign script to copy from clipboard to story

I know app.paste(); method dumps the contents of the clipboard at the spot where the cursor is currently. However, I want to define the location via a variable such as this: myStory = app....
1
vote
2answers
231 views

How to fix disproportional scaling across multiple images at the same time in InDesign?

In InDesign CS6, you have to directly select an image and scale up or down after clicking the "constrain proportions" chain-link button in order to revert the proportions back to normal. When ...
1
vote
1answer
2k views

How do I automatically insert a partial filename in InDesign?

I'd like to get InDesign to insert the first few digits of a filename automatically in a document created from a template. Our filenames are in this format: XXXXX_Name1_Name2_Name3.indd The Xs ...
1
vote
1answer
3k views

InDesign script to print .indd into .pdf

As the title says we were discussing scripting processes and we noticed this has not been asked nor do I know if it can be done. Can you create an InDesign script that will take all .indd files and ...
1
vote
2answers
173 views

automatically adding a sequence of characters

Is there any way of adding specific sequences of characters at the start and/or end of every instance of a determined paragraph style? I could do this using Grep find & replace, but then the text ...
1
vote
1answer
361 views

Add column break and space to using paragraph using styles

I'm going to design a fairly large festival programme and wish to make use of XML to ease the process. But I need to be able to make column break after each entry, and also add spacing after certain ...
1
vote
0answers
133 views

Create automatic low & high res pdf, png with inDesign for multiple user

I am working on a platform, which should create from an inDesign file a low and high-res pdf, a png and maybe a new indesign file with the new data. These steps are in my mind. User logins or ...
0
votes
2answers
127 views

Indesign script to add HTML tags based on character styles

I have an InDesign document with text styled as one of the following custom character styles throughout the document: character-bold character-italic character-bolditalic [none] I am trying to ...
0
votes
1answer
23 views

Batch copy/paste of rectangular images in square images?

I have got more than 1000 rectangular images (640x400) with a transparent background that I want to resize (to 600x375) and then copy/paste (centered) in a 600x600 transparent image. In other words, ...
0
votes
1answer
185 views

Script won't output bleed on PDF export, and stuck on other portion of script

So, the following script is a modified version of the script I found here. Its goal is to: Export the current page as a PDF using the HQ Print default Check for bleed. If there is one, the bleed ...
0
votes
1answer
30 views

Mute button for InDesign EPUB music

I'm creating a fixed design EPUB for a client. They would like background music to be present whilst the book is open. I've added an MP3 to the master page within InDesign, but the controls are ...
0
votes
1answer
52 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 ...
0
votes
1answer
93 views

Indesign script to list hyperlinks

I am new to this, done some reading but got stuck at this point. I am trying to get a list of hyperlinks from my document printed in the console or output to text file. for (k=0; k<app....
0
votes
1answer
70 views

Select all text across multiple stories

I need to change all text in all the stories in an indd file from "Adobe Paragraph Composer" to "Adobe World-ready Paragraph Composer". Can it be done through UI or I have to use scripts. In the ...
0
votes
1answer
136 views

InDesign row height script?

InDesign has ignored my row heights when importing an Excel sheet. Every first and second row height was default (20), every third row height was 10. Does anyone know if I can accomplish these ...
0
votes
1answer
195 views

Convert smart (curly) quotes to dumb (straight) quotes in InDesign using JavaScript

I am trying to write a script to automatically convert all curly double quotes (“”) in a text box into straight double quotes ("). Here's all that I've tried so far and none of them seem to be working:...
0
votes
1answer
64 views

Regex to convert custom tags InDesign GREP

Consider the following text: This is a test text with b custom tags /b to apply a b bold /b character style. In the above text, I have used b and /b as custom tags to designate a section I need ...
0
votes
1answer
371 views

Indesign script to automate GREP Find/Replace

This question follows on from my previous question on the subject of GREP and find/replace functionality of InDesign. To summarize the situation, my InDesign document has 3 character styles applied to ...
0
votes
3answers
416 views

InDesign script to alternate text color every other line in a text box

I have a very long list of names that I need to alternate the CMYK color value every other line. I found this script online that changes the tint every 3rd line: var i, p; for (i=0; i<app....
0
votes
1answer
98 views

Using grep to finding long digit series and inserting thin spaces into them

On my page i have a table with over 500 rows, in it one column where all cells contain a different numbers, such as 55123, 666000, 3000 and 1459000 (figures for sums of money). I would need to insert ...
0
votes
2answers
223 views

Batch replacing colors in InDesign

Is there viable way to swap colors in a InDesign template and export them using a batch process or script? Ideally, I would like to be able to make a CSV file with a list of hexadecimal color values, ...
0
votes
1answer
178 views

XML in Indesign - how to use attributes to assign formating

I wanted to use XML to design a big festival programme. Unfortunately the XML consist only of text elements that have certain attributes (like date, time, type, etc) assigned to them. I can rename ...
0
votes
1answer
699 views

Add text to InDesign with script?

We have about 500 1 page InDesign files which each need a bit of text added to them in the format: Completion Year xxxx The text needs to be right justified and placed below other text boxes ...
0
votes
1answer
301 views

InDesign automatically copy text

I am currently looking for a method to automatically copy text from one position onto another. Let me try to explain this a little bit better: I have created a quick survey form in InDesign where I ...
0
votes
1answer
106 views

Workflow question: How to Write Memo's in Page Panel in Adobe InDesign?

When using Adobe InDesign, you Pages panel shows you all the pages of your document. But sometimes those pages look similar from the thumbnails (see printscreen below) and you can't really tell which ...
0
votes
1answer
653 views

Next Month Indesign Text Variable

Is there any way to create a text variable that has a date in the future calculated from today's date? What I need is: Todays date + 1 month. I know you can have text variables with the output or ...
0
votes
1answer
14 views

Overriding linked textframes from a master page

I'm trying to take a master which have several linked textframes on them, then add text to the first textframe and want it to roll over into the next text frame. To do this, I'm creating a new page, ...