Adobe InDesign: SDK/Scripting Bugs and Features
118 results found
-
ExtendScript access to animation path object
Inside of the animationSettings, there's no way to access or manipulate the motion path as a path object.
It would be useful to have access to that path and be able to run path functions on it (add/remove points, simplify, etc).
3 votes -
EvaluateXPath is not working with Namespace, Internet surfing is also not working on this task. For past 5years we searching for this.
EvaluateXPath is not working with Namespace, Internet surfing is also not working on this task. For past 5years we searching for this solution. kindly check and provide solution hope you are revisiting your old path.
3 votes -
Hanging & Overset Issue
Hanging & Overset is the Main Issue, still we cannot find the root cause why this is appearing in all the time. Please check the feasibility to avoid the Overset issues occurred for Long Text without having space or Long Tables and Mostly Hanging issues occurred in Keep Options On or Off. Please check the feasibility and do the needful.
3 votes -
Request for Full Support of Persian Standard Half-Space (\u{200C})
Subject: Request for Full Support of Persian Standard Half-Space (Zero-Width Non-Joiner: \u{200C}) in Adobe InDesign
Dear Adobe Support Team,
I am reaching out to highlight some significant issues with Adobe InDesign’s handling of the Persian half-space character, also known as the zero-width non-joiner (ZWNJ), encoded as \u{200C}, which is widely used and essential for accurate Persian typography. InDesign currently does not fully support this character, which leads to numerous issues that affect document formatting and usability for Persian-language users.
Specific Issues with Persian Half-Space Support
Text Import from Microsoft Word: When importing Persian text from Word documents that contain ZWNJs,…2 votes -
Simple script crashes vanilla InDesign 2024 19.5 Debug version
Running this simple script (tested on Mac x86, Mac M1, and Windows) will crash Adobe InDesign 2024 Debug. It will not crash Adobe InDesign 2024 (regular version).
2 votes -
QR Code Contents Reader
Hi,
It would be really helpful if we were able to access the contents and colour of a QR code using a script so that they can be batch updated using a script.
For example, I have hundreds of documents containing 100 Web Hyperlink QR codes and I want to update all the ones that contain "utmcampaign=summersale" to now be "utmcampaign=summersale" and turn all the QR codes that are black to now be red.
2 votes -
Moving Anchoring Text to Anchored Object Crashes InDesign
Given a Text instance (
source
) that contains an anchored object (U+FFFC marker), the commandsource.move(…)
crashes InDesign if the destination (TextFrame, Text, InsertionPoint…) is itself an anchored object (or inside it).Code:
// Tested in ID CS6 and CC
// (see animation)
const BEG = LocationOptions.AT_BEGINNING;
var TFS = app.activeDocument.textFrames;source = TFS.itemByName('source').texts[0]; // Text: contains the anchor
host = TFS.itemByName('host'); // TextFrame: 'host' frame
dest = host.textFrames.itemByName('dest'); // TextFrame: 'dest' framesource.move(BEG,dest); // --> ID crash
//source.move(BEG,host); // WOULD BE OK
//source.duplicate(BEG,dest); // WOULD BE OK2 votes -
hyphenationExceptions in Dictionary
Hi,
app.documents[0].hyphenationExceptions.itemByName("English: UK").name.
It returns,
English: USA.
2 votes -
False state with app.gpuPerformancePreferences.enableGpuPerformance if no GPU available
Function GetEnableGPUPerformance() of interface IGPUPerformancePrefs of GetExecutionContextSession()->QueryWorkspace() returns true in case no GPU or a not supported GPU is installed on your macOS computer.
To reproduce launch InDesign CC 2018 or later with modifier keys command, option, control, and shift pressed and confirm resetting the preferences.
If you now check the setting either with some C++ code, or ExtendScript "app.gpuPerformancePreferences.enableGpuPerformance", in both cases the returned result is true , which is not the expected result.
When you now choose Preferences > GPU Performance the properties are shown deselected and disabled, which is correct. If you now click in "OK", the…
2 votes -
Text variable instances. Please change TextVariableInstance::resultText from read only to read/write for modifying with scripts
It would also be nice to plug a script to modify the text replacement from the text variable dialog.
Such an opportunity is needed, for example, for alternatively replacing paragraphs that are too long with a shortened version.
2 votes -
Add an Application Event for "failedToOpen", similar to "beforeOpen" and "afterOpen"
It would be useful to be able to create an Event Listener that would fire when a document failed to open. It would be great if we could cancel the default behavior using the PreventDefault.
My use case is the following. We offer a script that adds a custom menu item to allow users to select, convert, and open files that aren't usually supported by InDesign. We want to be able to offer the same type of functionality if the user attempts to open one of our supported file types through the standard Open Dialog (File->Open).
We would set up…
2 votes -
app.activeBook
When more than one book is open, selecting the book tab (when they're tabbed), doesn't work for app.currentBook in scripting. It's needed to click inside the book panel to have it targeted. Just the tab selected doesn't work.
2 votes -
Scripted iterative document open/close fails to close files
Note: my sample code is jsx, but the problem may not be limited to jsx. Change the filetype of my provided files from txt to jsx prior to using!
We have multiple products that sometimes show a problem with document.close() not actually closing the file, leading to incorrect functioning, memory bloat, slowdowns, and we believe some crashes. I provide a test script that takes a currently open document and iteratively copies it, opens the copy, then closes the copy -- after the loop is finished, the copy files are removed.
Important: If run from the ESTK or Scripts Panel, the…
2 votes -
La nueva versión indesign 2020 ya no tiene la opción de Flip page para flash.
La nueva versión indesign 2020 ya no tiene la opción de Flip page para flash.
2 votes -
textStyleRange.convertToNote() becomes very confused.
I'll attach a self-contained script which first creates in order to demonstrate problems with textStyleRange.convertToNote(). The script creates a small document containing "b"s. These are marked with a smaller pointSize so that they form individual textStyleRanges. The script then converts these textStyleRanges into notes. Unfortunately, the script terminates with a message: "Object is invalid; tsr.convertToNote()". This message happens because the scripting engine has become confused and is trying to convert a "b" within a note into another note. This shouldn't happen and is the first problem.
Open the story window. The beginning of the story has a clear pattern of…
2 votes -
User Interaction Level resets during Data Merge
Using at the top of the InDesign tell block:
set user interaction level of script preferences to never interactThe way I understand user interaction levels, when set to 'never interact', it should suppress all dialog boxes from popping up.
When AppleScript performs 'merge records', and the merged record contains missing fonts, ONLY SOMETIMES a missing fonts dialog box pops up and breaks the script. One can close this dialog, run the script again, and the dialog doesn't appear. This unpredictability is why I'm logging it as a bug.
Looking at the JavaScript DOM, the userInteractionLevel is a setting at…
2 votes -
Default Composer doesn't change via SDK
If I change the Default Composer via the Preferences Advanced Type dialog then query it in a script using app.textDefaults.composer I can see it has changed. However when I change it via a script it appears to change when I query it again but it is not changed in the prefs dialog and if I create a new document it is not the default composer. This is all with no open documents btw.
2 votes -
Inserted special character for current page number is not refreshed from the plugin since version 20.0
Inserted special character for current page number is not refreshed from the plugin since version 20.0.
In previous versions, after adding a new section using kNewSectionCmdBoss, the page information was refreshed.
Now the section is changing, the page number in the information bar at the bottom is correct, but the page number in the text frame with inserted special character has stopped updating.When the same is done via the Sections window in Indesign (Numbering & Section Options) with the start of new section field set, it works.
1 vote -
FINESTRA DEI COLLEGAMENTI
Come nella immagine allegata, la parte delle informazioni di collegamento appare trasparente. Così risulta illeggibile e inutilizzabile.
1 vote -
Problem related to half space in the dictionary
"When the Persian dictionary is fully added to the software through the method explained on your website, the software incorrectly identifies words that use half-space as incorrect, even though the exact word exists in the .DIC file and the spelling rules are defined in the .AFF file. Please investigate this issue as it is very important.
Thank you."
1 vote
- Don't see your idea?