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

Indesign script: how to pasteboard items

I have this script that finds a paragraph style, puts an item from a library at the very end and applies object style: myDoc = app.documents[0]; myLib = app.libraries[0]; myObjectStyle = myDoc.objectStyles.item…
chagrin
  • 7
  • 4
0
votes
1 answer

InDesign javascript Master Page item override doesn't work

I can't get a Master page item override working. In the code what should I put as destinationPage? Currently, I keep getting an error message "Invalid object for this request" var myDoc = app.activeDocument; var myPages=myDoc.pages; var myItems =…
0
votes
1 answer

Saving files for printers - Packages vs PDF only?

We develop documents in InDesign. Sometimes we get the docs printed by professional printing houses. What is the best way to prepare files for a printer? Option 1) Simply save a press-quality PDF and send it out Option 2) Save a Package in InDesign…
David K
  • 33
  • 1
  • 3
0
votes
1 answer

Read external assets continously into photoshop (or other program?)

I want to create some banner templates with external assets. e.g. template.psd assets/ file.png file2.png The catch is when I overwrite file.png with another image I want photoshop to display that new image instead of loading the old one. This…
Christoph
  • 1,347
  • 2
  • 19
  • 36
0
votes
1 answer

Applying XSLT to XML while exporting with ESTK/InDesign

Good afternoon Scripters, I have had some help setting up this structure, which I am using to create a folder on my desktop dynamically based on certain XML elements in my XML strucure, then loop through the XML records, split them into separate…
Natetown
  • 1
  • 1
0
votes
2 answers

Indesign Javascript load a file from serverpath

I have a problem with Indesign. I have a document, where I want to add a picture programmatically. This is easy, when I use a picture on my localdrive. But I want to add a picture from a server path like \myserver\pictures\pic.jpg I tried it like I…
Micha
  • 3
  • 2
0
votes
2 answers

Breaking one XML file into multiple XML files with XSLT 1 for InDesign

Good morning all, Within InDesign, I am trying to create multiple database records with XML with this structure: I have the XML exporting perfectly, but I'd like to apply XSLT…
Natetown
  • 1
  • 1
0
votes
2 answers

Script to move a selection relative to spread bounds?

I have a document with a spread that is far larger than the contents contained in the document. http://i36.photobucket.com/albums/e50/nollaf126/1-oversize-pasteboard.png I have another template file with a spread that matches the size of the bounds…
nollaf126
  • 140
  • 1
  • 14
0
votes
2 answers

filemaker xml export and preserve text

My xml export from Filemaker is to feed an InDesign template. I don't want avoid carriage returns in the InDesign doc. After some research I found a solution by substituting Substitute ( textfield ; "¶" ; "
" ) (InDesign will give lovely…
numbernine
  • 13
  • 6
0
votes
2 answers

Applescript convert variable into a string with commas for CSV

I have a variable that contains {"THIS", "THAT"} that I am trying to write to a csv so that the csv formats as THIS,THAT. Current it just spits out as THISTHAT. I think I need to repeat though the variable but I am not sure... the code is as follows…
MonkeyCMonkeyDo
  • 73
  • 2
  • 11
0
votes
1 answer

Indesign untagging frames with javascript

I am trying to look through all frames in my document and determine if they are tagged with a "copy" tag. If they are, I want to create an XML structure, and remove it's associated copy tag. This was working until yesterday. I woke up and it started…
Natetown
  • 1
  • 1
0
votes
1 answer

Add special Characters and spaces in Indesign

can we add a special characters and spaces to Indesign document automatically.for Abbreviation,Author Name For Eg: 1920 hair space India,R.thinspace shet etc.
Kumar_23
  • 19
  • 8
0
votes
1 answer

a standalone xslt javascript library?

this is my first post here I am developing a set of scripts (JS/ExtendScript) for Indesign to automate catalogue production. The input data is xml. Sometimes it could be very handy to rearrange xml on an early stage with xslt but I can't figure out…
0
votes
1 answer

Creating XML structure via tags with ExtendScript Toolkit

I'm using InDesign CS6 and I'm trying to build my first Javascript within InDesign. I want to be able to create an entire XML structure whenever someone tags a frame. Ideally, it would work something like this: When text…
Natetown
  • 1
  • 1
0
votes
4 answers

Moving created files with JXA

I'm new to JXA scripting, but I'm attempting to troubleshoot some older scripts currently in place here at work. They loop through an InDesign document and create several PDFs based on it. Previously, they would be stored in a folder called…