Questions tagged [indesign-scripting]
Questions about the automation and extending of functionality through the use of scripts within Adobe InDesign.
27
questions with no upvoted or accepted answers
10
votes
0
answers
367
views
Add Git log as table to InDesign Document
I use InDesign CC as the last step in document processing. The source is written in Markdown and converted via pandoc to an InCopy document which gets linked to a text frame in InDesign.
The whole ...
4
votes
0
answers
922
views
inDesign: Place textframes relative to other textframes, with automatic repositioning on resize
I use javascript to create an inDesign file containing multiple textframes. During script runtime, the textframes are easily positioned at the right place.
The problem arises, when I change the text ...
2
votes
0
answers
52
views
Data Merge 7 barcodes on 1 page 4000 times
I have to place 7 different barcodes on to 1 page but then they run 4000 times sequentially.
I tried to use scripts such as ImagesToCSV, but the images don't link when merged.
Other option is to ...
2
votes
0
answers
680
views
How can I restart footnote numbering every chapter?
Each chapter begins with a title 'Chapter 1; ...' I've given every chapter title the same paragraph style.
Now, I have multiple footnotes in each chapter. I'm aware I can choose to number footnotes ...
2
votes
0
answers
148
views
Does someone know of a script to automatically put specific texts as footnote text?
A little while ago I made this post. Because of that I can automate placing footnote references where they are needed. Now the problem is that the actual footnote texts are just placed randomly in the ...
2
votes
1
answer
208
views
Unlock page item InDesign without breaking thread
I have tried to override page items in InDesign page. In master page the text frames are threaded while I try to override master page items in the first page of the InDesign document the frame thread ...
2
votes
0
answers
1k
views
Script to resize InDesign page to fit content
I'm wanting to use ExtendScript javascript to loop through each page of an Adobe InDesign document and change the size of the page to match the visible bounds of all the objects on that page. I'll ...
2
votes
0
answers
52
views
InDesign: Can tags add behavior to xml?
I have an xml file and a template. For some reason when I import the xml it ads a blank element between the title and subhead. The element doesn't exist in the xml file, but before I import it there ...
1
vote
1
answer
165
views
Toggle 'Paste Remembers Layers'?
I've come across a script for InDesign that toggles on the 'Paste Remembers Layers' menu item.
I would LOVE a visual toggle as I use this all the time but for now this will do (unless anyone knows of ...
1
vote
0
answers
43
views
Indesign - FindChangeByList exclude character style (or hyperlinks)
I have a FindChangeByList search that replaces a divis between numbers with an en-dash with an 1/24 quad before and after. Unluckily it includes our Hyperlinks too and thus destroys them.
Is there a ...
1
vote
0
answers
159
views
Grepping with app.findGrepPreferences.appliedFont fails for Walkman-Chanakya-905 (TT)
I have InDesign JavaScript code that replaces strings of specific fonts. Tt works (mostly) including for appliedFont values containing spaces and dashes e.g. Walkman-Chanakya-905, Devlys 180 Thin:-
...
1
vote
0
answers
178
views
Create automatic low & high res pdf, png with inDesign for multiple user
I am working on a platform, which should create from an inDesign file a low and high-res pdf, a png and maybe a new indesign file with the new data.
These steps are in my mind.
User logins or create ...
0
votes
0
answers
62
views
Auto Hyperlink to all daily pages with montly calender?
I am working on a yearly digital planner using InDesign 17.0, currently putting all hyperlinks manually (Right-click on monthly calendar date -> hyperlink and select the corresponding daily page ...
0
votes
0
answers
58
views
Auto decimal for numbering in Indesign
Is there a way to make numbers separated with decimal symbol automatically and non-destructive in Indesign?
For example there is large numbers in my article which I'm designing now:
I have "six ...
0
votes
0
answers
16
views
InDesign Scirpting. Strange behaviour of document.loadMasters() function in case if file has been saved in newer version of InDesign
i noticed strange behaviour of function document.loadMasters() in case if i run a script in a lower version of InDesign in compare to one which i used to save a file.
So, i did next steps to reproduce ...
0
votes
0
answers
79
views
InDesign script to make auto-sized frames hold descenders: how to make it work?
I found the following promising script by Jon S. Winters,
function holdDescenders ( aTextFrame_o , extraHeight_n ) {
//-------------------------------------------------------------------------
//-- ...
0
votes
0
answers
36
views
Multiple document merge one book with clickable toc
I have multiple chapter 20 InDesign files. All files have separate master pages and numbering. I want to create one book with TOC clickable. How to do?
Also, I want to publish an e-book with a fixed ...
0
votes
0
answers
504
views
Indesign 'paste in place' doesn't work
It doesn't matter if it's an SVG, Jpeg, Text box or frame, every time I copy (cmmd + c) and paste in place (cmmd + shift + option + v) anything, InDesign paste's it in the centre of the spread.
I've ...
0
votes
1
answer
143
views
Importing Excel table to InDesign
I am having a problem when importing a table from Excel to Indesign.
I am getting errors when there is a formula behind text in the table.
If the formula results in a number, the number is imported ...
0
votes
1
answer
119
views
How to place xml nodes into indesign pages (one by one)?
I am trying to place a lot of tables into my document, one by one, but i can't place more than 1 table, does anybody knows how to place each table on one page or textframe?
I am using xml nodes like ...
0
votes
1
answer
120
views
Why does InDesign search not begin at beginning?
I am using a script to copy sequential lines from an input text file into an InDesign document. I have used the script a number of times with no problems.
var fi = new File("C:/Documents/input.txt") ...
0
votes
1
answer
231
views
How to apply specific object style to textFrames, those starting with anchored graphic frame?
I have a document (InDesign CS6) with a story, using text frames as placeholders. These text frames all have a graphic frame as first paragraph, going on with some other paragraphs with text.
Now, i ...
0
votes
1
answer
124
views
InDesign CC FindChangeByList How do you remove a style?
This should be really simple and is probably some documentation I can't find.
I need to remove a Character style from a query.
I've tried the following that do not work:
{CharacterStyle.remove}
{...
0
votes
0
answers
50
views
How to determine the latest export options chosen?
Is there any way to determine which file type and export options where last chosen via Menu → Export? E.g. if the user exported as a PDF (print), I would like to obtain the chosen filename, ...
0
votes
0
answers
354
views
Automatically Create Chapters with Master Pages and XML
I'm working on a catalog that contains several chapters and well over 100 pages. Luckily, I know that each chapter will be four pages long and use the same four Master Pages.
In a perfect world, I ...
0
votes
0
answers
388
views
How to show/hide specific objects based on variables in InDesign?
I'm creating a 80-page product catalog for a clothing company. Each page contains one clothing item.
On each page, there is a table that contains four pieces of information about that clothing item:
...
-1
votes
3
answers
404
views
Indesign replace multiples links by other folder images
I don't find a script or tricks to do that, i would like to replace ALL images by other folder (with different images).
exemple: i made a template with 4 box who contain the same image : toto.jpg, ...