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

Howto programmatically create a PDF from a predesigned template made in InDesign

The goal is to design beautiful templates in InDesign, which are then being used to programmatically generate printable PDFs within a special application connected to a database, so I can fill data from the database into the templates. I have no…
todd
  • 19
  • 2
0
votes
0 answers

Dynamic content replacement using Adobe Illustrator and C#

We are currently looking for a way to automate part of our design/development process. Our product is an asp.net mvc multi-tenant website and we have a need to create marketing materials (such as banners and leaflets) and letters for each of our…
0
votes
2 answers

Applescript to assign an XML tag to all images in an InDesign document

I have a strange issue. My short applescript is kind of working. I want to tag all the rectangles (these are what Adobe's library calls image frames) with the XML tag "Image". set tagName to "Image" set imageList to {} tell application "Adobe…
Paeon
  • 85
  • 1
  • 8
0
votes
1 answer

How do I export contents between xml tags based on names in Extendscript for Indesign?

All I'd like to do here is open an InDesign 2018 CC file, pull out text uniquely (here I've chosen to grab content inside XML tag called "Title" from named tag window in the InDesign application side), save it to a txt file, and close the InDesign…
Sean
  • 1
0
votes
1 answer

inDesign scripting: Include remote .js-file in script-file (and use it's variables)

I'm trying to access a remote .jsfile within an inDesign script to use it's variables. I found functions for including js-files locally but haven't found a good way to include. http://remote-site.com/test.js: var testVar = "it works!"; myscript.js,…
Carl Papworth
  • 1,282
  • 2
  • 16
  • 35
0
votes
1 answer

InDesign, IDML, XSLT: messed up xml output w/o obvious pattern

I have an InDesign workflow where I export an tri-monthly updated document to IDML and then run some rather complex XSLT transformations to produce an XML output. I did not change anything in my XSLT and the last time my XML was fine. Now the XML…
Jean Zombie
  • 607
  • 1
  • 9
  • 28
0
votes
0 answers

what is the Purpose of creating in text file before loading in to the indesign file

I have the perl script which converts group of xml in to text file and later it would be coded or formatted to import the text file in to indesign. So the output of the text file has some indesign tags that includes…
0
votes
0 answers

Import HTML alt text to InDesign

I have HTML files with alt text in them, but when I import that HTML to InDesign, I lose the alt text. Is there anyway to have the alt text import as well? I'd rather not have to add it all manually again :(
Chris
  • 1
0
votes
1 answer

How to add special characters while scripting InDesign with Python

How to add InDesign special characters like auto-page-numbers to textframes when using Python for scripting InDesign? With JS you could do: aTextFrame.contents = SpecialCharacters.autoPageNumber
Rockbot
  • 935
  • 1
  • 6
  • 24
0
votes
1 answer

Indesign jsx script requesting pointer

I am new to indesign scripting. I would like some pointers in writing jsx scripts. I have an indesign template( indt file )and I have to create a indd file out of it (just a copy). Then I have to replace first/last name and date etc with a content…
0
votes
1 answer

Script for applying hyperlinks to text

Being unfamiliar with coding I'm having trouble tweaking the code below. I need to hyperlink the "#" and everything after the "#" until a "space". The digits after the "#" can be variables and there may be as many as five digits. Sample…
0
votes
1 answer

InDesign Script - Search and Replace

all! I'm a simply Graphic Designer who is looking for help to make a script to find some codes and hours and replace them for random values. thanks to any who can give me a hand. I now s**t about JS so I can't do it my self. Regards! (PS: Maybe we…
0
votes
2 answers

Finding page sizes in InDesign multipage document with different page sizes

I'm trying to write a simple script that looks at the active InDesign file and reports the page width and height. However, I have a multiple page document, and not all pages are the same size. So I cannot use the document page sizes. How do I read…
0
votes
0 answers

HTML FontAwesome

I am working with fontawesome 5.0.13 and all of a sudden the last icons that I added decided to not show up on InDesign. I am fairly new with html and fontawesome in general. So any help will be appreciated. What I do is copy and paste the code for…
0
votes
2 answers

How do I export the XML from "structure" to an object, not a file using extendscript

When you're in the "structure" pane in Indesign you can choose to export it as XML. Using the exportFile function supported by extendscript I was able to get the file written to a file. I'd like a way to get this XML into an variable, without…
El Dorado
  • 313
  • 1
  • 2
  • 14