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

Best way to generate PDF in c# using Word or InDesign?

I'm comfortable generating Word documents using Aspose.Word (which can also save as a PDF) but I've recently been asked to do the same thing using a PDF as the starter template. We recently bought Aspose.Total and whilst Aspose.Pdf looks like it can…
Rainier Wolfcastle
  • 606
  • 2
  • 7
  • 18
0
votes
2 answers

How do I apply a GREP style a "$" before the first ENSH and nothing after?

Important: a "$" before the first ENSH is optional. New to GREP. I work on retail ads and trying to figure out how to accommodate client styling rules in my existing paragraph styles. Currently, we use multiple ENSH's to switch character styles in…
Caleb
  • 1
0
votes
1 answer

Cannot access kerningValue property of character or paragraph

I am trying to ascertain the kerning of the characters in a TextFrame using IDS's SOAP API. For the sake of simplicity I am currently still trying to examine only the first character, which is not any kind of special character (it's an uppercase T).…
p.g.l.hall
  • 1,961
  • 2
  • 15
  • 26
0
votes
4 answers

Passing Applescript list to javascript ExtendScript as array for Indesign

Background I have a load of Applescripts(AS) which designers use with InDesign that help process the workflow for production. There is a great deal of OS interaction that the AS does that the JavaScript can not, so moving away from AS is not…
Lithodora
  • 338
  • 1
  • 13
0
votes
1 answer

importing hierarchical xml into indesign

I have an xml that has levels and items. A level can contain an arbitrary number of items and any number of nested levels. Of course I need to define a special format for each level and possibly different formatting for items due to the level they…
steros
  • 1,794
  • 2
  • 26
  • 60
0
votes
1 answer

Convert string automatically to inline image

I'm using InDesign's data merge to generate playing cards for my game. Is it possible to convert a specific string to an inline image? "You may roll :red_die: and add the rolled valued to this card's value" For example the :red_die: in the text…
Sami
  • 105
  • 1
  • 9
0
votes
0 answers

InDesign - force table column width

I'm using InDesign scripts in order to process .docx documents. I'm experiencing some issues with tables. Is there any way to force the columns's width value? So far, I've tried this to no avail: var myAdjustment = myParentWidth /…
JuanN
  • 698
  • 1
  • 13
  • 21
0
votes
1 answer

Select multiple words and characters using GREP

I need some GREP help. I'm trying to search for text in an InDesign file that has lesser-than "<" and greater-than ">" characters on either end. The text could be one word or more and could include spaces and even numbers. But, here's here's the…
Jim Maivald
  • 522
  • 6
  • 26
0
votes
2 answers

Designing XML within InDesign for upload to a database

Good day all, I am relatively new to InDesign and XML. I am slowly working through a solution to export my InDesign content as XML and upload it to a Content Management System's Content Database. The content database already has a predefined XML…
0
votes
1 answer

Error Running jsx file from Indesign to export each text frame as a .txt file

Last year my colleague helped to build a script for Indesign. Subsequently, after a system update we no longer have the script as Indesign CS6 was reinstalled, all we have is a version as below. Using this code in Adobe Indesign to export each text…
0
votes
1 answer

Indesigne paragraph styling error

So I've been working on some project of mine and long story short, I have to correct paragraph stylings and so on, because it didn't exprot correctly. Now I've been doing this for over a 1100 paragraphs and it was as it should be until the paragraph…
0
votes
1 answer

How to add contents into the xml element?

I need to insert a word sqrt(plain text without tags ) in the xml element of m:msqrt like below: I tried: var path = (app.activeDocument.fullName.parent.fsName).toString().replace(/\\/g, '/'); //path of active document(sample.indd) var xmlPath =…
Learning
  • 848
  • 1
  • 9
  • 32
0
votes
1 answer

Folder of recovered files missing their names - How can I find the one I am looking for by the contents of the file?

I managed to accidentally delete a backup of files I had which I then later recovered. The recovery has lost the files names and location and I am left with about 3000+ .indd (Adobeb InDesign) files. My problem is I am trying to find the .indd file…
kurasa
  • 5,205
  • 9
  • 38
  • 53
0
votes
1 answer

How to count a specific tags in xml file?

XML: <num aid:pstyle="_CN">1</num> FIG. 1.1 some…
Learning
  • 848
  • 1
  • 9
  • 32
0
votes
1 answer

What could be the cause of this if condition getting skipped even the condition inside is True?

I am debugging a C++ project (A Plugin for Adobe InDesign) for a bug on OSX 10.9.5 using XCode 4.6.2. I have encountered very strange problem in the following code, the if statement in the following code is getting skipped even when the condition…