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

using xml content markup in indesign scripting

I'm working on a script for InDesign, and I'm pulling in content from an xml file. How would I parse and create the separate paragraphs in xml like this: ...

this is a paragraph

this is another paragraph

This is…
user3791372
  • 4,445
  • 6
  • 44
  • 78
0
votes
2 answers

obtaining xml node value in javascript

I'm putting together a script for InDesign using javascript, and have a settings xml file from which I'd like to pull out a value of a particular node. I've successfully read in the XML file var xml = new XML(file.read()); and can easily pull…
user3791372
  • 4,445
  • 6
  • 44
  • 78
0
votes
1 answer

Repeating Item templates in Indesign XML import

I'm looking to batch import some data into Indesign via XML and I've set up an item template. As there are an unknown amount of items in the XML Indesign I'd like Indesign to create a new page and duplicate the item template with all the elements…
user3791372
  • 4,445
  • 6
  • 44
  • 78
0
votes
0 answers

How to display an EPS file?

My web application currently displays PNG files. It is going to be easier if I could use an EPS file. How do I display an EPS file from InDesign on the canvas in Javascript?
quemeful
  • 9,542
  • 4
  • 60
  • 69
0
votes
4 answers

Indesign scripting - Save Copy

I'm using a Objective-C Scripting Bridge to communicate with InDesign CS3/CS4. Unfortunately I'm stuck on Save command which appears to be existing only as a part of the standard suite and not defined again in InDesign. Because of that it looks like…
BobC
  • 639
  • 5
  • 19
0
votes
1 answer

Set page numbering in InDesign (with extendscript)

In InDesign, I can set the page numbering options to start at any number. Like this (starting at 5): Please note that this is not the same as page markers as text in the document. I need to change it in the Pages panel. My question is: How can I do…
Hburg
  • 3
  • 2
0
votes
4 answers

Apple Script remove default swatches from InDesign swatch list

I am trying to get InDesign to list all the colours in a document without listing the default "None", "Paper", "Black", "Registration" This is what I have but AS keeps listing "None", "Paper", "Black", "Registration" in the output. tell application…
MonkeyCMonkeyDo
  • 73
  • 2
  • 11
0
votes
2 answers

Indesign data merge on 2 pages with different layout

I would like to have a two page Indesign document. First page has text + image and second page has 2 images. The images should come from a csv file that gets data merged with the Indesign document. Is this achievable. I have only been able to do a…
Snels Nick
  • 925
  • 3
  • 13
  • 25
0
votes
2 answers

Restify not sending complete xml response

I have a small restify api that talks to sql server and returns xml back. xml response can be quite large and is consumed by Adobe InDesign. Api call works in the browser but when called from InDesign, I get incomplete xml response. InDesign uses a…
Chirdeep Tomar
  • 4,281
  • 8
  • 37
  • 66
0
votes
1 answer

Define height in mm of a jpeg being exported from indesign

I've found plenty of scripts where I can define resolution, but is possible to export the first page of an indesign document with a specified height (in this case 20mm at 300dpi). I have several thousand documents to do and need a script! Thanks
0
votes
1 answer

Indesign Text in two columns and several textframes

I am importing records from a database with a plugin into one big textframe in InDesing CS6. The layout defines a textframe with 2 columns per page. The datas are addresses, sorted by country. Each country is shown as a running header in a header…
urs63
  • 17
  • 1
  • 4
0
votes
1 answer

How to set Excel Import Preferences in InDesign CS6 using extendscript?

This seems like it should be really simple, but for some reason I can't get it to work at all. The following code has no effect whatsoever: function setExcelImportPrefs() { with(app.excelImportPreferences){ rangeName = "A1:Z300"; …
belscb
  • 1
  • 1
0
votes
3 answers

InDesign Applescript make text frame with properties

I am writing a small Applescript that adds a text frame with some content to an InDesign doc. I am trying to specify the properties of the content in the text box but none of the specs are being applied and I am getting the default. The events are…
MonkeyCMonkeyDo
  • 73
  • 2
  • 11
0
votes
1 answer

Namespace error when importing XML-file into InDesign

The task is to import an XML-file into InDesign CS6 while processing that file with an XSL transformation. In order to apply paragraph-styles to the imported text, the attribute "aid:pstyle" is added via XSLT. A very brief example: XML file to be…
leu
  • 2,051
  • 2
  • 12
  • 25
0
votes
1 answer

How to know the platform through InDesign javascript?

I want to find the platform (Windows/Mac) of the running indesign using javascript, eg: alert(app.name); will result "Adobe InDesign" like the same way, is there any way to find the platform ? please anyone suggest a solution for this Thank you!
user3354853
  • 179
  • 9