Questions tagged [adobe-indesign]

InDesign is Adobe's scriptable publishing software. When using this tag also tag the language that you are coding in for context, e.g. [extendscript], [applescript], or [vbscript], etc..

Adobe InDesign is a software application that can be used to create works such as posters, flyers, brochures, magazines, newspapers and books. It can publish content directly to tablet devices, in conjunction with Adobe Digital Publishing Suite.

1184 questions
0
votes
1 answer

How to determine whether a script is run at startup or manually?

By having a script located in a subfolder startup scripts of e.g. the user script folder, one can have a script run at startup. What I would like to achieve now is having the script determine whether it is run due to that startup (and e.g. create…
Tobias Kienzler
  • 25,759
  • 22
  • 127
  • 221
0
votes
1 answer

Prevent " " from becoming "	"

I'm trying to export XML from Excel. Some of my cells have tabs in them if the form of but when they export to XML they become 	. I am able to fix this in SublimeText with a simple find/replace but it would be nice to just have it come…
0
votes
1 answer

How get Adobe InDesign HyperLinkURLDestination linked text

So far I implement a extension to export InDesign document to XML, everything work fine except the hyperlinks. I can get all hyperlinks (HyperLinkURLDestination) via document.hyperlinkURLDestinations but there are no way to know which text in…
Leo
  • 1
  • 1
0
votes
1 answer

Hide checker (if true) in a interactive PDF with custom checkbox created with inDesign

I got a problem with checkbox field using Adobe Indesign. I want an image to become my checkbox button and also change the image after clicking. Unfortunately, after clicking on this button the image changes properly, but it also adds checker (check…
benji__
  • 47
  • 3
  • 9
0
votes
1 answer

Setting Facing Pages Margins In InDesign

I'm creating a new document with facing pages, and I want to set a margin that has a bigger margin on the spine side than the outer edge. In the UI, this is simple as there's an "Inside" and "Outside" margin edge. When scripting however, there's…
user3791372
  • 4,445
  • 6
  • 44
  • 78
0
votes
1 answer

Automated rotating and placing image and text on a page in InDesign

I have been tasked with taking a set of product images and text and placing them in a booklet (with facing pages) and putting the product description next to the image. Most images are landscape orientation whilst the book is portrait, and so they…
user3791372
  • 4,445
  • 6
  • 44
  • 78
0
votes
1 answer

Regex: Match Specific Character in Parentheses

I have the following string: Character (ccdd) The c's and d's are necessary for a stupid design reason. I want to highlight c's and d's specifically, so that a) matches "cc" and b) matches "dd" with the requirement that it only matches if it is in…
kftb
  • 117
  • 2
  • 11
0
votes
2 answers

InDesign - remove master items override use selectors

I want to remove the overrides from master items, but just items in object style X, i wrote: var doc = app.activeDocument; var pgs = doc.pages; for(i = 0; i
ABE
  • 734
  • 2
  • 9
  • 21
0
votes
1 answer

Triggering spell check in InDesign using COM

How can I begin the spell check process for selected text / all text using the COM interface? There's an executeMenuCommand for javascript, but seems like there's no alternative for the COM interface.
user3791372
  • 4,445
  • 6
  • 44
  • 78
0
votes
1 answer

Determining height of a block of text in a console application

I'm trying to determine the size of the textframe that will be needed for a block of text. This is to then be exported for an InDesign script to create the page. All in a console application. I've tried to create a WPF TextBlock and assign the Text…
user3791372
  • 4,445
  • 6
  • 44
  • 78
0
votes
0 answers

InDesign Script - remove element from odd pages

I have a single page layout that is duplicated and each page has a 'region' section on the right had side. Is it possible to remove this 'region' section from all odd pages using a script? Otherwse I'll have to delete them manually.
Catherine Allen
  • 95
  • 3
  • 17
0
votes
1 answer

InDesign CC Image Caption Numbering Bug

I don't know if it's a bug, but I created a document with images and captions. Theses captions are actually text frames with custom "list" to get the numbering working and taken in consideration every time I create a new text frame (continuous…
Bassem
  • 3,582
  • 2
  • 24
  • 47
0
votes
3 answers

Is there an InDesign event handler for when new pages are created?

I just want a function to run whenever a new page is created in inDesign. Adobe's documentation appears to let you attach event handlers to nearly all objects, but they don't give any examples of how to do this past the document level. var…
Uncle Slug
  • 853
  • 1
  • 13
  • 26
0
votes
1 answer

Use GREP for italic Old Style Figures in InDesign

When typsetting books, I often use GREP to locate all digits in a book and convert them to a character style for old stye figures. But I also need to find italic digits already given an italic character style, and convert them to an italic old style…
0
votes
1 answer

Basil.js and ExtendScript in Indesign / How can I style textFrames?

After the svg elements are placed/drawn in Indesign, I wanna change the style from some or all elements. In my example I style the textFrames while they are drawn. My example works. But how can I change the style after the textFrames are placed? I…
LolaRuns
  • 99
  • 1
  • 1
  • 8