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

inDesign CC: Adding pages with master spread to document using script

I'm new to coding with inDesign and am at a loss for how to achieve this... Basically I need to generate 50+ brochure range sheets. It's a document that catalogues products using data merging from a .csv file. What I need to save me time is a…
0
votes
1 answer

use InDesign vb.net

I would like to develop a tool with visual studio 2017 that merge some csv files with InDesign templates. I've installed InDesign CS5 My main issue is that I can't figure out how to import the InDesign Library. It doesn't work when I use myInDesign…
SlimBeji
  • 9
  • 3
0
votes
6 answers

InDesign content to Database

We have InDesign files created and now we would like to populate the database with content available in InDesign file. Is there an SDK to read InDesign files content and populate it to database? Or Please suggest the best approach to get database…
Digital
  • 1
  • 2
0
votes
1 answer

Adding hyperlink to image in Indesign with Applescript

I'm trying to create an AppleScript that creates hyperlinks on every linked image in InDesign. This is what I have come up with so far. tell application "Adobe InDesign CC 2017" activate tell active document set grphicBoxs to all graphics of…
Fredrik M
  • 1
  • 1
0
votes
0 answers

How to get a linefeed when writing files with ActionScript with Adobe Indesign Scripting

I'm writing some scripts in ActionScript to automate some tasks in Adobe Indesign 2019 (part of the Creative Cloud Suite), but this applies to all scripting for all applications in Adobe Creative Cloud. I don't want to use ExtendScript Toolkit for…
Paul Verschoor
  • 1,479
  • 1
  • 14
  • 27
0
votes
1 answer

InDesign python Script for search and replace

I would like to use a python script to find and replace some text in an InDesign file and then save it as pdf. I managed to use python to open indesign and save it as pdf however I do not know how to search for text and replace it with a random…
Irah
  • 1
  • 1
0
votes
1 answer

How to EXCLUDE MasterPage items when bulk exporting all text Frames

When I'm exporting all text frames from a file, the script sees the textframes in the masterpage and messes up the calculation and gives an error at the end because those frames are locked and can't be exported. var myDoc = app.activeDocument; var…
Sved
  • 15
  • 3
0
votes
0 answers

InDesign Export all TextFrames to JPG or PNG Individually

I'm struggling with a problem where I need to get JPGs of all the written questions in InDesign since I work at a school. To make the process faster, I decided to go the "Export Objects" way. But i couldn't find a suitable script to achieve what I…
Sved
  • 15
  • 3
0
votes
1 answer

JavaScript + InDesign: Find a word in a .indd document and write a .txt file with page number locations

I'm running into a problem while trying to execute a script to find a specific word — in this case the name of a project within a book — and write the page numbers of all its occurrences in my InDesign document to a .txt file. Problem: For whatever…
s.vd.z
  • 3
  • 6
0
votes
1 answer

InDesign spreads managing in JavaScript

I'd like to re-arrange my pages in InDesign using JavaScript. At this moment im coding it page after page for debugging. Later i'll put that into loop of course. My code is something like…
NastyKhan
  • 11
  • 2
0
votes
1 answer

Adapting merge cells in InDesign script

I found this script on SO, which is very close to what I need. But instead of it merging the cells with the one above I need it to merge with the cell to left of any empty cell. I have tried to experiment with it and manged to get it to merge…
rjh1000
  • 23
  • 2
0
votes
1 answer

Adding hyperlink to a pdf being created via designmerge

I am working with InDesign hyperlink tags and am having an issue with the output. I have Adobe in the InDesign document. What I want to do is output a PDF with just "Adobe" as a link to the hyperlink…
0
votes
1 answer

Different ways of counting characters in Indesign using javascript

I'm writing a javascript program to handle each character intо Indesign document. To begin with, I wrote two different ways of counting characters, which for some reason give different results for large documents. Why? var …
nkp07
  • 1
0
votes
1 answer

InDesign data merge—"remove blank lines" resulting in extra characters

I'm using data merge to import two variables per line, and have checked the "Remove blank lines for empty fields" box. The result is a wealth of extra characters that I can't remove using find-and-replace. Of the 24 lines of variables, typically…
Beamish007
  • 33
  • 7
0
votes
1 answer

InDesign resize Text Frame

I want to resize entire indesign document width and height here is my code its give error Error Number:11265 Error string: This value would cause one or more object to leave the paste board please help me to fix, Thank you var NEW_HEIGHT = '25 cm'; …
Haja
  • 74
  • 2
  • 11