1,216 questions
0
votes
0
answers
26
views
Add Two Different Page Numbering Styles to Parent Page
My document is made up of several smaller "sections" compiled into one large document. Each section has its own page-number prefix and is numbered 1 through whatever. They look like MD-23 or ...
1
vote
1
answer
44
views
How to update the linked PDFs page with JSX script
I want to loop through all elements in a document and if they have a specific linked PDF file, update which page of that file is linked. I can do all but the last step.
In a nutshell: How to use a JSX ...
Advice
0
votes
2
replies
20
views
Indesign GREP to select 'any character' followed by a space, followed by a right single quote
I'm looking for a way to avoid line breaks before a class year. I'd like to be able to select 'any character' followed by a space followed by a right single quote ("Michael Green ’87" ...
3
votes
2
answers
65
views
InDesign script method equivalent of 'doubleclick on UI' on TextFrame ui container 'box'?
In a scenario where I have a TextFrame (TF) with content, and there is lots of empty space at the bottom of the TF. How can I accomplish in InDesign JS the equivalent of 'user interaction of ...
1
vote
2
answers
81
views
How do I apply the 2nd paragraphs pStyle at earliest possible?
EDIT: I took a different approach where I break the content into 2 separate textframes. Not the solution I wanted, and isn't an answer to the question I posed, but it allows me to move on. I'm leaving ...
1
vote
0
answers
59
views
Custom XMP namespace appears in logs, but not visible in File Info → Raw Data
const { app } = require("indesign");
const { XMPMeta } = require("uxp").xmp;
const doc = app.activeDocument;
const xmp = new XMPMeta(doc.metadataPreferences.rawXMP);
console....
1
vote
2
answers
60
views
How to apply link to a specific word within a textframe?
Currently I can only apply it to the whole textfield.
I want to apply internal links to different pages to a specific word within a TextField, so I can have multiple links within the same textfield.
...
0
votes
0
answers
122
views
Why does page.name return undefined in InDesign UXP plugin?
I'm developing a UXP plugin for Adobe InDesign and trying to access the name of each page using page.name. However, when I run the following code, page.name consistently returns undefined, even though ...
1
vote
1
answer
87
views
How to append to a TextFrame's story without losing previously applied Paragraph Styles?
I want to write an ExtendScript program for InDesign which creates a TextFrame, and then fills the frame with paragraphs, styling the paragraphs as it goes. I.e., add a paragraph, apply a style to ...
-1
votes
1
answer
69
views
Why does selection[0].contents return undefined for a selected TextFrame in InDesign UXP?
I'm building a UXP panel for Adobe InDesign, and I'm trying to extract the contents of a selected text frame using:
const selection = app.selection;
const selectedItem = selection[0];
const text = ...
1
vote
1
answer
70
views
Need to Add An Unmerge Function to an Existing InDesign Javascript
I have a working javascript I use that goes through a folder of indd files and finds tables with a certain word, and then extracts the text from specified cells in the table. It's worked perfectly (...
1
vote
2
answers
179
views
The Indesign script returns the page number as a single-digit number
First of all, I would like to say that I have no idea about programming; I have simply been developing a script for InDesign using AI, and I have reached a point where I cannot continue. What I am ...
1
vote
2
answers
680
views
Script for InDesign That Can Export Each Spread of a Document As 2-Page PDF's, AND Name The PDF's Based on Specific Table Cell
Before I explain what I need to happen, I think it'd be helpful to explain the document I'll be working on:
With InDesign, using the data merge functionality, I will create a document where each ...
1
vote
1
answer
132
views
How do you target the InDesign place gun with Applescript?
I am new to Applescript so thanks a bunch for your patience! I am trying to load a JPG into the place gun with Applescript for Adobe InDesign. The purpose would be to learn the rudimentary action for ...
0
votes
0
answers
55
views
How Text Adornment to idml
I am studying the SDK example—BasicTextAdornment, and I have a question. It seems that it cannot store relevant information in the exported IDML file. If I want to make it save the relevant ...