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

How to make InDesign's epub file vs. PDF file compatible?

We used Adobe inDesign to design story books. We need both the PDF file as well as epub file. Since we all view in PDF during the process, the final clear product in PDF, when we export as epub file, it's huge. It all messed up the original…
0
votes
0 answers

Can't set Excel import preferences with Extendscript

My script is supposed to create a page in Indesign, then create a text frame on that page, and finally import an Excel spreadsheet into that text frame. It works, except that it will only import the first page of the Excel doc, regardless of how I…
PaulTong
  • 35
  • 4
0
votes
0 answers

InDesign CS6 Check the XML document for specific attribute

I have an xml file with the attribute style inside the resultset The value…
Ria S.
  • 63
  • 1
  • 11
0
votes
1 answer

InDesign GREP: Italicized specific characters

I want to use a GREP style to italicize a portion of a company name. For example: "In*Design*." Design is only italicized when it follows the word "In" but "Design" never appears italicized when it stands by itself.
0
votes
1 answer

Not all cells of the table are getting formatted ecept than the first one

var doc = app.activeDocument, _pages = doc.pages, i, j, k, l, _textframes, _tables, _row, _cell, rownum; for (i = 0; i < _pages.length; i++) { _tables = _pages.item(i).Tables; for (j = 0; j < _tables.length; j++) { _row =…
user3386167
  • 65
  • 1
  • 1
  • 6
0
votes
1 answer

Where is the event object for external file event handlers?

In the Adobe InDesign CS6 Scripting Guide: JavaScript (link to pdf), in Chapter 8: Events on page 136 it says, eventListeners that use handler functions defined inside the script (rather than in an external file) must use #targetengine…
dln385
  • 11,630
  • 12
  • 48
  • 58
0
votes
1 answer

limit Indesign item export only to images

I'm using the following script to export all items / per page from an indesign document to jpg. This script also crops all items to their size given by the container in indesign. I would like to limit this script to export only all "placed images",…
emjay
  • 1,491
  • 5
  • 17
  • 35
0
votes
1 answer

Can Basil.js use OSC to talk with other software?

Basil.js(basiljs.ch) uses processing like syntax to control javascript objects in Adobe's InDesign. I wonder whether there is or it is possible for Basil.js to talk with other tools through OSC. Please let me know! Thank you :)
0
votes
0 answers

can i use basil.js with Hebrew

im trying to run the attached script on Hebrew text (right to left) with no luck. Any ideas? Thanks, Ori http://basiljs.ch/gallery/alphabet-bars/
Ori
  • 1
0
votes
1 answer

how to find text in Indesign using GREP

I have a text to find in indesign = "Sünder" Note: that "S" is italic, then "ü" is roman and "nder" is italic in above text. I want to find and change this text in indesign using GREP or normal text mode. Can someone give any suggestion to find…
user3354853
  • 179
  • 9
0
votes
1 answer

Insert video into InDesign in a not fitting box

How can I put af video into InDesign in a frame/box that not has the normel video proportions? When I place a video into a box that is square I get a message saying that some elements are cropped in a way that PDF cannot display, or something like…
Jeppe Donslund
  • 469
  • 9
  • 25
0
votes
1 answer

How cut/crop an image and duplicate it in basil.js

I'm trying to do a script in basil.js to duplicate an image and cut/crop the image inside the frame. In the basil.js reference (http://basiljs.ch/reference/) I don't find a function to move the image inside the Indesign frame. #includepath…
newbleep
  • 13
  • 4
0
votes
1 answer

Extendscript that merges empty cells doesn't work with more than one table on a page

I needed a script that will merge any empty cells in a table in an InDesign document with the cell directly above it. I thought I had it figured out, with this script: var myDoc = app.activeDocument; myPage = myDoc.pages; for (var p=0;…
PaulTong
  • 35
  • 4
0
votes
1 answer

Does anyone know why an object would miss a property?

We have a script that export our Indesign documents to HTML and one of the routine is to export tables. In this script we go throught each Tables->Rows->Cells and evaluate some of the properties (i.e. bottomEdgeStrokeType, topEdgeStrokeType,…
Eric B.
  • 338
  • 3
  • 14
0
votes
1 answer

Indesign SDK: Compilation error while trying to compile the resource file with a existing boss class

I have added a Boss class in the resource file as below, but facing below error while building the project in Visual studios 2010. DocWch.fr(87): error R32691: # Error: Custom type name expected, but 'kGTTxtEdtResponderServiceBoss' found. Below is…