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
0 votes
1 answer
431 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 to ...
TheLearner's user avatar
0 votes
2 answers
5k 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 ...
TheLearner's user avatar
0 votes
2 answers
1k 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 write ...
TheLearner's user avatar
0 votes
3 answers
4k 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....
AndrewH's user avatar
  • 12.7k
1 vote
1 answer
927 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 ...
JJxyz's user avatar
  • 13
0 votes
0 answers
379 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 ...
Jonathan Bowman's user avatar
0 votes
2 answers
2k 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, ...
jebbles's user avatar
1 vote
1 answer
733 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 ...
BlueWizard's user avatar
2 votes
2 answers
4k 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". ...
TheLearner's user avatar
5 votes
1 answer
295 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 ...
Nicolas's user avatar
  • 51
0 votes
1 answer
879 views

Auto-find missing links in Indesign plugin

Any plugins for InDesign (CC) that would scan and search on all the folders in the computer and in the mounted drives on a Mac for a missing file? Something that would keep us from searching that ...
Marc's user avatar
  • 3
2 votes
2 answers
1k 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 ...
calua's user avatar
  • 188
0 votes
1 answer
605 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 ...
Jakob Thuemoes's user avatar
0 votes
2 answers
1k 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 will ...
wailing_stone's user avatar
3 votes
2 answers
1k 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 ...
One Face's user avatar
  • 171
0 votes
1 answer
6k 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 which ...
Vidro3's user avatar
  • 101
1 vote
1 answer
889 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. ...
Emily's user avatar
  • 41
2 votes
1 answer
4k 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 return ...
TheLearner's user avatar
1 vote
1 answer
1k 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....
TheLearner's user avatar
2 votes
1 answer
3k 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....
TheLearner's user avatar
3 votes
1 answer
2k 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 ...
TheLearner's user avatar
5 votes
1 answer
1k 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 ...
Jakob Thuemoes's user avatar
2 votes
2 answers
2k 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 ...
user avatar
1 vote
0 answers
178 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 create ...
TobiasHH's user avatar
1 vote
1 answer
7k 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 ...
BlackbaudCarlton's user avatar
4 votes
2 answers
862 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: ...
Tudor's user avatar
  • 43
0 votes
0 answers
416 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: ...
Jan 'Saffi' Stekelgunsson's user avatar
3 votes
1 answer
8k 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 ...
mephisto21's user avatar
4 votes
1 answer
935 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 ...
user3244505's user avatar
3 votes
1 answer
5k 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?
user26405's user avatar
5 votes
1 answer
1k 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.
Bianca's user avatar
  • 71
0 votes
1 answer
2k 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 ...
David's user avatar
  • 1
0 votes
1 answer
185 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 ...
Sam's user avatar
  • 101
0 votes
2 answers
2k 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 ...
Diego's user avatar
  • 103
2 votes
1 answer
68 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 ...
sam's user avatar
  • 1,711
6 votes
1 answer
529 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:
Pylyp's user avatar
  • 171
6 votes
1 answer
1k 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 ....
user9447's user avatar
  • 18.3k
2 votes
1 answer
5k 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 ...
user9447's user avatar
  • 18.3k
5 votes
1 answer
1k 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 ...
Sturm's user avatar
  • 171
11 votes
1 answer
6k 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 ...
Totty.js's user avatar
  • 877
4 votes
2 answers
1k 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 ...
Saaru Lindestøkke's user avatar
15 votes
1 answer
17k 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. ...
user56reinstatemonica8's user avatar
3 votes
2 answers
10k 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 ...
sam's user avatar
  • 1,711
-1 votes
2 answers
48k 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, ...
sam's user avatar
  • 1,711
7 votes
3 answers
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 ...
user56reinstatemonica8's user avatar

1 2 3
4