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
5
votes
1 answer

InDesign Server - Can't resize image - it is locked and can't unlock it

I am writing some JS code to relink an image, then resize it to fit the containing object. Simplified version of code: var image = (get image); try { image.itemLink.relink(File(new_filename)); } catch(e) { (log it); } var image = (find image…
p.g.l.hall
  • 1,961
  • 2
  • 15
  • 26
5
votes
1 answer

inDesign JSX scripted add of heading and content into textFrame

I'm attempting to use inDesign JSX scripts to insert the following data into a document: data = [{heading:"Heading 1", content: ["Some content"]}, {heading:"Heading 2", content: ["Some other content with", "Multiple paragraphs"]}] The data has to…
Josh B
  • 1,748
  • 16
  • 19
5
votes
2 answers

How do I create a large pdf, semi quickly

I need to generate a large PDF, 2480 pages to be exact. Currently I am using indesign, and while the output is exactly what I want. I would rather not be involved in the document creation process. It takes 31 minutes for indesign to execute the data…
mbunch
  • 560
  • 7
  • 21
5
votes
2 answers

Identify coordinates for a visual element in idml

I need to process Indesign Idml files, generate an image, and overlay other elements over certain elements in html. Given an Indesign Idml file (which is a package of zipped xml) and given a visual element in that file (via a tag in the xml). Is…
George Mauer
  • 117,483
  • 131
  • 382
  • 612
5
votes
3 answers

Export HTML and CSS from Photoshop or InDesign

I am building web site and I've got .psd file of how the site should look like and I can make it manually but it will take time. I was wondering if there is a way to export a Photoshop or InDesign file to HTML without requiring major corrections.…
Darko Rodic
  • 1,010
  • 3
  • 10
  • 27
5
votes
2 answers

Convert LaTeX markup to HTML

[UPDATED] This is my task – Converting a bunch of custom built LaTeX files to into InDesign. So my current method is: run the .tex files through a PHP script that changes the custom LaTeX codes to more generic TeX codes, then I'm using TeX2Word to…
Circle B
  • 1,616
  • 3
  • 26
  • 45
4
votes
2 answers

InDesign plugin with Boost.Filesystem doesn't show up in the program

I try to develop custom InDesign plugin using Adobe SDK. Everything was fine until I added some functionality from Boost.Filesystem. When I statically link boost_filesystem and boost_system to the solution everything builds and plugin is compiled,…
Archie
  • 6,391
  • 4
  • 36
  • 44
4
votes
3 answers

COM returns type that does not implement any interface

I need to automate some tasks in Adobe InDesign CS3 from a .NET 4.0 application. I've added a reference to the InDesign Type Library using the Add Reference dialog in Visual Studio. It genereates an interop assembly, which correctly includes all of…
René
  • 9,880
  • 4
  • 43
  • 49
4
votes
5 answers

How to execute an InDesign extendscript from command line?

I need to execute a .jsx script for InDesign from command line (Windows). For Illustrator, it works easily with the following command: "C:\Program Files\Adobe\Adobe Illustrator CS6 (64 Bit)\Support Files\Contents\Windows\Illustrator.exe"…
superrache
  • 650
  • 11
  • 26
4
votes
1 answer

InDesign CC 2014 Extendscript: How to reliably close document after asynchronous PDF export

I've written an indesign script which generates documents that need to be exported as PDF files. Exports happen asynchronously so that the user can continue working. The generated documents remain open in the background during the export process,…
4
votes
4 answers

Access Adobe InDesign files

I need some directions for the following problem: I have a lot of InDesign files and i have to setup a process that will track if a certain paragraph or text block has changed between diferent versions of the file. If the text block has changed i…
PeterMmm
  • 24,152
  • 13
  • 73
  • 111
4
votes
4 answers

Why does closing a window in Indesign doesn't work?

I have a question concerning Indesign script. Why does it work, when you close a window like: submitButton.onClick = function(){ close(); } But when I try to execute a function afterwards like: submitButton.onClick = function(){ close(); …
Frederik Witte
  • 1,167
  • 2
  • 11
  • 35
4
votes
1 answer

What does an /ActualText of FEFF0009 mean in a PDF?

I've been looking into a PDF file to understand how it is built. I noticed that InDesign has created PDFs with text as below (after decompression using pdftk). 0 Tc /Span<>> BDC 4.018 -0.2 Td ( )Tj I understand the role of…
Nick P
  • 759
  • 5
  • 20
4
votes
1 answer

Adobe InDesign CS6 "undefined is not an object"

I am new to InDesign scripting though I do have experience with Javascript. I created a new menu item as you will see in the script below, which I planned to use it to call another script onclick. However I am facing some issues, so I decided to…
Ria S.
  • 63
  • 1
  • 11
4
votes
2 answers

How to extract image from IDML file using IDMLlib

I need to parse an IDML file and save the images separately from that file in formats for the Web. Can I do that IDMLlib? And if it's possible then can you show me some examples? P.S. The documentation of that library is awful, and the examples…
1 2
3
78 79