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

Regex for every first line of paragraph in InDesign GREP

i'm trying to apply a certain formatting using InDesign GREP-Styles. My intention is to match every first line of a paragraph. My first attempt was: (?<=\r)(\w)+(?=\r) but this won't work and if it would, then the very first paragraph wouldnt…
Francis
  • 244
  • 1
  • 4
  • 14
0
votes
1 answer

InDesign ExtendScript script sometimes creates a corrupted PDF during export

I've had this problem for a while, now. Close to the end of my "Proofing" script, the currently opened document in InDesign is to be exported to two different .pdf files. The first is password-protected while the second is not. I don't seem to…
Sturm
  • 689
  • 2
  • 23
  • 52
0
votes
2 answers

Changing a ScriptUI control after its window is already shown

So I have a (hopefully) simple one this time. I have a ScriptUI window programmed in ExtendScript for Adobe InDesign CS6. It contains a StaticText control. After this dialog window is shown to the user, I would like to change the text of that…
Sturm
  • 689
  • 2
  • 23
  • 52
0
votes
1 answer

Indesign Script for footnotes losing text styles

I'm working with footnotes in InDesign 5 . I managed to convert my text to footnotes, but my problem is that they lose the style in the process. This is the script I'm using : Application.prototype.main = function(){ if ( this.documents.length <= 0…
Nico Gallegos
  • 321
  • 8
  • 20
0
votes
1 answer

InDesign script labels in appscript python module

I'm using appscript to create an InDesign document from Database data, but I can't seem to figure out how to set the contents of the objects in my page. In older versions of ID (CS4 and earlier, if i'm correct) I could get the object with script…
Sander
  • 1,183
  • 12
  • 27
0
votes
2 answers

How to include additional scripts in basil.js

New to Basil.js, but love it dearly. I am wondering if it is possible to link other javascript sheets in my .jsx script and what the correct procedure is. When I try: #include "basiljs/users/anotherscript.jsx"; InDesign throws err: Error Number:…
0
votes
1 answer

Adobe InDesign - Web Content Overlay - Prevent Scroll Event Bubbling

I've got an InDesign magazine which contains a Web Content Overlay (pointing to a responsive web site). Everything works fine apart from when it comes to scrolling. Only vertical scrolling (up and down) is required, horizontal isn't. Problem When…
Rob Campion
  • 1,359
  • 13
  • 26
0
votes
1 answer

Exportings pages from InDesign using section tag in HTML5

Is it possible to export pages tagged using
from InDesign CC? Using the Articles workflow or Paragraph Styles don't seem to allow for the flexibility to specify the tag for export at the page level. There seems to only be the ability to…
jsuissa
  • 1,754
  • 6
  • 30
  • 64
0
votes
3 answers

How do I write UTF-8 data to a UTF-16LE file using PHP?

Given a string of UTF-8 data in PHP, how can I convert and save it to a UTF-16LE file (this particular file happens to be destined for Indesign - to be placed as a tagged text document). Data: $copy = "\n"; $copy .=…
murdaugh
  • 121
  • 1
  • 3
0
votes
2 answers

How do i get noise to work in basil.js?

I dont manage to make b.noise work in basil.js. I allways get the error "ReferenceError: Uint8Array does not have a constructor". What am I doing wrong? function draw() { var xoff = 0.0; var xincrement = 0.01; xoff += xincrement; var n =…
0
votes
1 answer

Scripting Indesign: alternating paragraph styles

How do I do this: I have a document with two alternating paragraph styles, s1 and s2. s1 is followed by s2 and vice versa. This works fine with the user interface. But how does it work with scripting? In the following code sample all text gets…
Alex Monthy
  • 1,827
  • 1
  • 14
  • 24
0
votes
2 answers

How to apply a random font to a textbox by scripting InDesign?

I want to choose a random font from my installed fonts and apply it to a text box. I am using basil.js to facilitate coding. I don't want to write a list of all available fonts by myself, like this: var font = []; font[0] = "Times New…
j____r___
  • 95
  • 1
  • 6
0
votes
1 answer

Export paragraphs and line breaks from Indesign to XML

In an Indesign project I'm tagging a book consisting of spreads of similar layout. Each spread has some text on the left and a photo on the right page. The text usually consists of two or more paragraphs. Those are not marked in the export XML, but…
Alex Monthy
  • 1,827
  • 1
  • 14
  • 24
0
votes
1 answer

Elements move when exporting to pdf in Indesign cs5

When I export a document, elements from the master page moves and duplicates themselves on the pdf. I have searched for hidden objects with no result. I have also made a new layer and new master pages. I have found a similar problem but that…
0
votes
1 answer

How can I gradually change font across a text frame in InDesign?

I would like to change the Typeface or Font Weight across a text frame gradually either by character, word, line, sentance or so on (basically any grep function). I am generating (or interpolating) fonts so that I have a font family with the…
user2509945
  • 63
  • 1
  • 9