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

Indesign notated dimensions

Using current Indesign 2020; is there a way to create a text variable that divides the current object width/height by the metadata object (in frame) scale to get dimensions of the placed object in frame. I use Indesign for proofing and am looking…
coursler
  • 1
  • 1
0
votes
1 answer

Indesign Scripting: View array's actual content (strings) in ExtendScript console

I'm a beginning learner of InDesign scripting and would like to help myself with debugging, but my attempts seem to run into walls. Hope someone has some insights that will help me going forward. I'm working on a little project that loops through…
A Zook
  • 37
  • 7
0
votes
1 answer

InDesign script, resize images after word import

Sometimes we have big images in word file and after importing this word file inside InDesign, the image goes inside the overflow text and the text flow stops at this point. We couldn't resize these images or can't get hold of this image for applying…
Shiv
  • 1,211
  • 4
  • 14
  • 24
0
votes
1 answer

Can I control/script InDesign using Electron app/JavaScript?

Investigating Electron at the moment, with ultimate aim of controlling actions/scripts in other apps (like InDesign). Currently part of my workflow uses Filemaker to trigger applecripts that control actions/alter InDesign docs (and then feedback…
0
votes
0 answers

How to use different templates for InDesign XML import

I am trying to import XML data to InDesign and I have no problem with single template using tags but I would like to add attribute to node with template name or url to use during import. Is using different template for each node even…
omygoodness
  • 335
  • 3
  • 18
0
votes
1 answer

com.adobe.indesign::IDSWFFile : Null-exception when loading swf-files

This is my class in essence import mx.controls.Image; public class ImageFrameView extends Image { //Model. Contains x, y, z and z. Url for the png/jpg or swf-file private var m_imageFrame:ImageFrame; public function…
0
votes
1 answer

Hebrew or Arabic typesetting problem in Indesign

I want to know how the right-to-left language of the Middle East language is set in Indesign. As Below enter image description here If I use spaces between numbers and characters, the numbers will be ranked elsewhere So I used 'i' replacing…
Xiaoqin
  • 1
  • 2
0
votes
1 answer

InDesign - How to export groups to jpg

I need to export groups in InDesign to jpg. My group will contain an image, logo and some txt, and I need to have a single image for each group in my document. Preferably with the name of the image. I have tried to use this script, however it only…
Musmand
  • 1
  • 1
0
votes
1 answer

What’s the difference between array[i] and array.item(i) in ExtendScript?

I’ve seen both in code samples; for instance, in Adobe InDesign CS6 JavaScript Scripting Guide: app.documents.item(0).pages.item(0) myDoc.pages[0] Are they interchangeable? Which one’s the best pratice?
0
votes
2 answers

GREP Styles in Adobe InDesign

I posted a question a few days ago about importing data to an InDesign file from a MySQL database using XML. I have looked into it and thanks to some help received from other sources think the project should be fairly straightforward. Essentially,…
BenM
  • 52,573
  • 26
  • 113
  • 168
0
votes
1 answer

How to save labels in InCopy?

It seems that when InCopy saves a document, programmatically added labels are lost. For instance, if I do this: app.activeDocument.insertLabel('myLabel', 'magicString'); The label is effectively added, as evidenced by…
0
votes
1 answer

InDesign - Script to find specific words between angle brackets, and copy those to a list

Sorry in advance if I’m not phrasing this question correctly. I know nothing about InDesign scripting, but this would solve a workflow problem I’m having at my company, so I would appreciate any and all help. I want to find all strings in an…
xbert
  • 1
0
votes
1 answer

404 in JQuery Ajax POST call while sending XML to server

I am recently working with adobe InDesign extension's and in that I want to upload an xml file to my server using jquery ajax POST call, so for that, I have to read the XML file from the file system store it into a variable and then pass that…
0
votes
1 answer

Importing to InDesign from XML

I have asked a similar question before, but didn't get very good results. I've looked into it a little more and I think this is the best way to tackle it. However, I'm stuck on the final part of the question, so any assistance would be gratefully…
BenM
  • 52,573
  • 26
  • 113
  • 168
0
votes
1 answer

InDesign CC 2019 | Getting page dimensions (pageWidth and pageHeight), not document dimensions with JSX?

I have a document in InDesign with a spread of pages with different width-dimensions. Now i want to add vertical guidelines with a JS-Script. Therefore i have to add pageWidth + pageWidth (of a specific page). But i only know how to get the document…