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
0 answers

regular expression for the following patterns with extendscript

I have a set of InDesign documents with records in the following format - {item_id}. {item_text} [{tags}] (options) {item_id}. {item_text} [{tags}] (options) {item_id}. {item_text} [{tags}] (options) where item_id is an integer id, item_text…
Harshit Laddha
  • 2,044
  • 8
  • 34
  • 64
0
votes
2 answers

Text frames disappearing after applying a ParagraphStyle

I don't have a lot of Indesign experience to say the least but I was asked to investigate if it was possible (using indesign server of scripting) to start a new document, apply a master spread page, insert some paragraphs and applying some paragraph…
0
votes
1 answer

Get location(X & Y coordinates) of Indesign.Link

I am using Adobe InDesign CC. I have a few images which are added as links in InDesign documents. I want to read the location i.e X & Y co ordinates of those links on the document. Following is my c# code to get all links. But I don't know how to…
MARKAND Bhatt
  • 2,428
  • 10
  • 47
  • 80
0
votes
1 answer

Find and Replace via GREP in InDesign in a specific manner

I am currently trying to layout a novel in InDesign. In the original text the chapters are headlined with "## Chapter X" because it is written in Markdown. So I try to automate the layouting using GREP and try to apply a specific paragraph style to…
18zehn
  • 162
  • 9
0
votes
1 answer

InDesign: Javascript grep last match in a paragraph

I have here a text in InDesign: Hello (World), this (nonsense) text nobody (needs, right?). With my jsx script I want to select the last match with brackets (needs, right?). But this result is formatted with regular and italic (needs is italic and…
jb_alvarado
  • 169
  • 3
  • 11
0
votes
1 answer

Indesign server - generate indesign file based on data & provided template

i want to build a webform to store the values that i want to place in various indesign templates, to generate an indesign file. How do i do it? How would i generate the indesign file if i have the template and the database of values that need to be…
zPrima
  • 727
  • 1
  • 8
  • 20
0
votes
1 answer

Get the file path from the selected object in indesign

How can I get the file path from the selected object in Adobe Indesign? Edit: I'm using InDesign CS5 (7.0) Object Model My user should be able to select an object in Indesign (i.e. a linked file object) and then call a script upon it that edits and…
oystersauce
  • 43
  • 1
  • 6
0
votes
0 answers

Data Merge adobe indesign scripting from unique identifier

Currently I have a document with a rough layout for a catalog that I have developed. However, I would like to try and make it as quick as possible. I have master pages for each section, and each page is different as you can tell from the image…
mattyp
  • 32
  • 6
0
votes
1 answer

InDesign script, resize images when importing

I have a script that finds image names and replaces it with it's image. This is what the text in my InDesign file could look like. @blue_dress_xl.JPG@ Blue Dress XL Lorem ipsum... The text is in 3 columns, the width in each column is 40,667…
0
votes
2 answers

Swap Items using basiljs

I am pretty new to the whole basiljs world. So this might be a very basic question. I wasn't able to figure it out on my own however…  I am trying to create a simple script that swaps two Items that are selected on the same page. I was able to get…
0
votes
2 answers

InDesign changing Text Stroke Color with Javascript

I want to change the Color of "Ortsname" in JavaScript, im using: var relieflackEbene = myDoc.layers.itemByName('Relieflack'); to select the Layer "Relieflack" but when using relieflackEbene.pageItems.firstItem().strokeColor =…
Yierith
  • 141
  • 1
  • 5
0
votes
0 answers

Trying to calculate a percentage of possible answers that have been selected in a pdf

I have multiple forms that all follow a similar format, and that are exported from an InDesign table into Acrobat DC and then prepared as fillable forms. These track a student’s progress with a series of tasks (lines of text from the original…
0
votes
3 answers

Capture user's click: InDesign scripting

I'm trying to come up with a script that presents the user with a simple dialog box with three options: "Yes", "No" and "Cancel". Based on the user's input the script then produces two different kinds of pdfs (Special Report / Online PDF) or exits…
0
votes
1 answer

DOM Exception WRONG_DOCUMENT_ERR: when sending soap request to Adobe Indesign

I have Xubuntu 16.04 as a Host machine and i am running Windows 7 on VirtualBox. On the Windows machine i have Developer version Adobe InDesign 2014 Server. I am calling a simple test script with generated files (java classes for InDesign WSDL) and…
YoloZsolo
  • 1
  • 1
0
votes
1 answer

InDesign scripting: How to apply sub-master to a master page?

I am new to InDesign Scripting. I am trying to write a script to apply a master page (sub-master) to a master page. I am not able to figure out how to do this. Can anyone help?
user8004178