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

learn more… | top users | synonyms

1
vote
1answer
329 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 ...
0
votes
1answer
77 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 ...
0
votes
1answer
40 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; ...
0
votes
1answer
734 views

Indesign script to replace paragraph style

I am using ID CC 2014 on a Mac and there's a huge file with several hundred pages where I need to delete a certain paragraph style replacing it with another. Say there's a para style called "style-1". ...
0
votes
1answer
52 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
58 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 ...
2
votes
2answers
103 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 ...
0
votes
1answer
101 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
2answers
202 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
0answers
32 views

Need a better Find/Change for indesign

The pesky '~c' in the grep find change is extremely helpful but limited. I want to script multiple find change actions that replace the text found with complex formatted text blocks containing text, ...
0
votes
1answer
152 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 ...
0
votes
1answer
274 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
2answers
98 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 ...
1
vote
1answer
2k 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 ...
3
votes
1answer
88 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 ...
0
votes
3answers
277 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; ...
0
votes
1answer
75 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
0answers
57 views

Automatically Create Chapters with Master Pages and XML

I'm working on a catalog that contains several chapters and well over 100 pages. Luckily, I know that each chapter will be four pages long and use the same four Master Pages. In a perfect world, I ...
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 ...
0
votes
0answers
52 views

Is there a way to specify textBox orientation with ID CC script?

Orientation of a form field (and of text inside it) can easily be changed in Acrobat Pro in properties/general/orientation, but none of textBox properties in ID JS seem to work this way (for example, ...
1
vote
1answer
153 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
2answers
207 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 ...
0
votes
0answers
40 views

Easy way to automatically shift layers when adding new images to a catalogue?

I need an easy way in which to edit a catalogue. I'm working on creating a catalogue for a client that'll have all their products. The problem is, I need a way in which this catalogue will be easy to ...
0
votes
1answer
165 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
153 views

Auto-find missing links in Indesign plugin

I was wondering if you guys know any plugins for InDesign (I'm running CC) that would scan and search on all the folders in the computer and in the mounted drives on the mac for the missing file? ...
1
vote
2answers
149 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 ...
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 ...
0
votes
1answer
174 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 ...
3
votes
2answers
316 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 ...
-1
votes
2answers
43k views

plugin to allow you to run cs6 indesign files in cs5?

in our office we have multiple users all using different levels of creative suite, they include CS5, CS5.5 and CS6. Most adobe files seem to work fine when switching between different CS versions, ...
0
votes
1answer
608 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 ...
1
vote
1answer
276 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
827 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 ...
1
vote
1answer
250 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 = ...
1
vote
1answer
439 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: ...
3
votes
1answer
594 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 ...
1
vote
0answers
129 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 ...
1
vote
1answer
1k 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 ...
4
votes
2answers
350 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: ...
0
votes
0answers
118 views

How to show/hide specific objects based on variables in InDesign?

I'm creating a 80-page product catalog for a clothing company. Each page contains one clothing item. On each page, there is a table that contains four pieces of information about that clothing item: ...
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 ...
4
votes
1answer
384 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 ...
5
votes
1answer
624 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.
3
votes
1answer
502 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?
11
votes
1answer
10k 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. ...
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 ...
0
votes
1answer
281 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
101 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
621 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 ...
5
votes
1answer
233 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: