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: is it possible to store .jsx script preferences inside .indd file?

In that case it will be possible to store those settings with .indd file, and when .jsx script runs - it can check if those setting exists (in .indd document params) - if so - script can run without showing dialogue with parameters, as all necessary…
Oleh Melnyk
  • 337
  • 5
  • 11
0
votes
1 answer

Fit Frame To Content after changing it's contents

Ok, let's say I have this textFrame selected: I want to apply this: To get this expected result: With this code it's no problem: var doc = app.activeDocument; var target = doc.selection[0]; target.fit(FitOptions.frameToContent); But as soon as I…
clankill3r
  • 9,146
  • 20
  • 70
  • 126
0
votes
1 answer

set display performance for document

If I set my display performance and run a basil.js script then basil seems to override my display performance settings. What I would like at the end of the script is set the display performance settings to fast display. Is this possible?
clankill3r
  • 9,146
  • 20
  • 70
  • 126
0
votes
3 answers

get all methods and properties of an object

If I use (on a text frame): b.selection().fit(FitOptions.frameToContent); Then it works as expected, this means that the selected object has a fit method. If I use: for (var property in b.selection()) { b.println(property); } On the same…
clankill3r
  • 9,146
  • 20
  • 70
  • 126
0
votes
1 answer

set object style with basil.js

from basil cheatsheet: b.objectStyle(”myStyle”); // return or create style with given name But when I try it (on a text frame): b.selection().appliedObjectStyle = b.objectStyle("CAPTION"); Nothing happens. While this…
clankill3r
  • 9,146
  • 20
  • 70
  • 126
0
votes
1 answer

XML + Indesign - copy tagged elements with hierachy

I'm using Indesign to create a catalog with multiple page templates and import the data from a xml export from the website. In order to use 7 different templates I created lots of tagged frames. The import works well. (thanks to Indesign and XML -…
0
votes
1 answer

InDesign: Trying to target a group with script label...no dice

I'm using InDesign CS6. I have a table nested inside a group. The group is labeled "slug" using InDesign's script labels. I'm trying to insert information into the cells of that table. I've gotten it to work without using labels if I target "group…
0
votes
1 answer

Programming a Indesign table - aid5:cellstyle (ID CS5)

i have a Indesign CS5 document. In the middle is a table, which is filled by my java code, than it's pushed to our Indesign. My code looks like this: StringBuffer table = new StringBuffer(); int tableSize = 10; table.append("
Joergi
  • 1,527
  • 3
  • 39
  • 82
0
votes
1 answer

GREP how to select double quotes "" but not «»

I need to set up a GREP style in a paragraph style in InDesign. What I need is to select the quotation marks “” and the apostrophe ’ but not the Guillemets «». I need to select only “” and ’ to apply a character style to lower them on the baseline,…
polifilo
  • 1
  • 1
0
votes
2 answers

GREP last {4} word end letters

In InDesign I was hoping [\l]{4}(?=\s) will find the last four letters of words, but the GREP did not work. I wanted to put it in the header of page as the suffix. Was doing magic with \b and $, nothing worked. And http://regex101.com/r/uQ7xR3/1…
gasyoun
  • 23
  • 5
0
votes
2 answers

idlk file gets created in MAC

I have a program and a plugin which makes me a indesign document via indesign server. On running the program, it would make some API calls like openDoc, CreateElement, closeDoc etc and make the document ready. Once the server opens the file on mac,…
shridatt
  • 896
  • 4
  • 15
  • 39
0
votes
2 answers

InDesign Target XML Structure element by partial name

In my Structure pane there are some elements that their partial name is identical, eg. image01, image03, image03 etc. I want to know if there is a way to access them via scripting using the itemByName() method, but by providing a partial name, like…
Ria S.
  • 63
  • 1
  • 11
0
votes
1 answer

InDesign script: footnotes loosing their style

Ok, I know this had been already discussed here but no clear answer had been provided. I often need to import XML files into InDesign, many footnotes included. Of course, InD is not able to use tags automatically in this case. This script works well…
Honza Hejzl
  • 874
  • 8
  • 23
0
votes
1 answer

XML-Ready InDesign Ads Template

My goal is to create an XML-Ready template to handle ads like a newspaper. I've managed to get the project to a point, but I'm facing some issues, no other forum was able to help me with. 1) The layout consists of 6 columns per page, each text frame…
Ria S.
  • 63
  • 1
  • 11
0
votes
1 answer

Character restriction at grep in Adobe Indesign CC 2014 on Windows

When I use the grep functionality in Indesign CC 2014 on Windows it doesn't return the same amount of results. It only happens on Windows in the latest version of Indesign. For example: when i use the grep [^<]+ on windows it wil find…
Glen Bal
  • 1
  • 1