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
4
votes
2 answers

How can you prevent the "Update Links" dialog to appear when opening documents from code?

I'm trying to Update Links of inDesign documents using ExtendScript, but whenever I open the document the dialog appear asking me if I want to update the link. I want to do it in the background, so is there a way to prevent this or any dialog from…
Eric B.
  • 338
  • 3
  • 14
4
votes
1 answer

How to use Adobe Indesign API in VB.Net

I have got a sample add in for excel: I create a object InDesign.Application Dim myInDesign As InDesign.Application Dim myDoc As InDesign.Document Dim myPage As InDesign.Page myInDesign =…
D T
  • 3,522
  • 7
  • 45
  • 89
4
votes
1 answer

How to load & extract text content from Adobe Indesign file , C#?

I want to load Adobe Indesign file, then I want read all text content of file(extract text data). How can I it in C#?
Ali Ahmadi
  • 2,387
  • 4
  • 31
  • 48
4
votes
0 answers

POST request for file upload in Javascript InDesign, extendables

I'm trying to implement a file upload out of InDesign with it's built in JavaScript technology. Basically the script exports an InDesign document to a PDF and then tries to upload the file to a webserver. For the upload I use the extendables plugin…
mathz
  • 136
  • 1
  • 1
  • 9
3
votes
1 answer

grep uppercase words to lowercase while excluding Roman numerals

I'm trying to write a single regular expression to convert all uppercase words to lowercase while excluding uppercase Roman numerals from being converted. The only way I found was to convert all uppercased words that are followed by a space, comma,…
jeffrbauer
  • 125
  • 1
  • 13
3
votes
7 answers

MySQL Database to Adobe InDesign

Not really sure if this is the correct place to posting this, but thought someone here might have a little experience with this. We have a MySQL Database containing a number of products (well, 3,200 actually). For obvious reasons we don't want to…
BenM
  • 52,573
  • 26
  • 113
  • 168
3
votes
2 answers

Adobe InDesign CS5 Scripting - Object does not support the property or method 'resolution'

Ok upgraded to CS5 and now this is not supported: app.jpegExportPreferences.resolution = 350; Question is how to specify resolution in CS5 since this worked in CS4?
jmituzas
  • 593
  • 3
  • 14
  • 28
3
votes
4 answers

What's the best way to export indesign webpage design to xhtml?

I have one indesign file which is designed for a webpage. I tried to export from the file > export > dreamweaver with Indesign CS5. I tried to configure everything and export, but the exported result is totally awful. What Indesign export is images…
knightrider
  • 2,533
  • 7
  • 30
  • 42
3
votes
2 answers

Use XSLT to keep bold and italic html tags in XML file

I need to import some event XML into InDesign. I'm using an XSLT to reorder and sort this list of events. To bring in the I'm using "copy-of" so that it will keep the italic and bold tags. However, InDesign just imports that…
3
votes
1 answer

InDesign scripts: paste into frames

I'm working on a script which pastes my clipboard in every selected frame. After searching around I didn't figure out how to paste something into a frame (or polygon). I'm stuck at something like this: function pasteSelection(mySelection) { for…
Malte
  • 454
  • 2
  • 5
  • 20
3
votes
2 answers

InDesign CS6 Socket return Empty

I have this code (InDesign CS6), and it's not working as expected. I'm using Mac OS and I need to make the code compatible with Windows and Mac. Trying to get a text/JSON over my localhost, and the socket return an empty string:- function…
Arepie
  • 31
  • 2
3
votes
2 answers

Regex: How to "step back"

I am having some trouble cooking up a regex that produces this result: Mike1, misha1,2, miguel1,2,3,4,5,6,7,18, and Michea2,3 How does one step back in regex and discard the last match? That is I need a comma before a space to not match. This what I…
Mikhail
  • 7,749
  • 11
  • 62
  • 136
3
votes
1 answer

Prevent dialogs and alerts while showing a progress bar in InDesign CC JavaScript

My script analyses a bunch of InDesign files. Any warnings about missing fonts etc are irrelevant, thus I turn off user interaction during the core work: // preparation code app.scriptPreferences.userInteractionLevel =…
Hauke
  • 451
  • 3
  • 11
3
votes
1 answer

Best way of creating graphics-heavy, cross-platform, eBooks?

I have been working on converting graphics and layout heavy books (created in Adobe InDesign) into cross-platform eBooks with non-standard functionality (embedded video, audio, interactivity, etc). Exporting from InDesign to EPUB or other similar…
Kyle Lowry
  • 1,246
  • 10
  • 14
3
votes
1 answer

Is there a (creative) way to hide a text field in Indesign if there is no information in the data merge field?

I am creating a data-merge document in InDesign. There are various tables that I've created which only show as many rows as there is actual data in the field, through some creative table and cell styles. Now I've been asked to only have an entirely…