Adobe InDesign: SDK/Scripting Bugs and Features
119 results found
-
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 -
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 -
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 -
BUG: Fix the multiple panel issues in the InDesign UXP plugin framework
Please fix the panel bug:
https://forums.creativeclouddeveloper.com/t/uxp-entrypoints-setup-loads-same-panel-always/80261 vote -
implement control of layers Composition of imported photoshop file with javascript
implement control of layers Composition of imported photoshop file with javascript
1 vote -
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 -
InDesign hangs when placing text
This bug has been around for a long time. It would be nice to have it fixed.
Steps to Reproduce:
1. Install the Adobe font family, Source Han Sans TW, on your computer.
2. Create a folder: c:\Temp and give everyone full permissions.
3. Download Script1.jsx and place it in "C:\Users<User>\AppData\Roaming\Adobe\InDesign\Version 19.0-J\en_US\Scripts\Scripts Panel"
4. Start ID 2024 running in the CJK region.
5. Open the scripts panel and run Script1.jsx
6. Wait as long as you would like.Actual Result: Usually InDesign hangs (i.e. freezes). Sometimes InDesign crashes and submits and crash report to Adobe.
Expected Result: That the script…
5 votes -
[ExtendScript/UXP] Position layoutWindow viewport
I would like to be able to specify a layoutWIndow viewport's center.
In Illustrator, we can position the center of the window's (a View, in Illustrator) viewport in document coordinates, so we can, for example, center a page item in the window.
I would much appreciate this addition to Indesign scripting.
3 votes -
Potential bug in IDHAMemoryXferBytes.cpp
Not 100% sure, but I think there is a small 'off by one' bug in IDHAMemoryXferBytes.cpp.
It's possible it is not causing issues - it all depends on what the calling code does with the class.
I think
pnum > numLeftInBuffer
should really be
pnum >= numLeftInBuffer
otherwise the routine does not flag EOF when we happen to request the exact number of remaining bytes.
See line with comment before it:
```
...
uint32 IDHAMemoryXferBytes::Read(void* buffer, uint32 pnum){
uint32 numToTransfer = 0;
…do { if (buffer == nil) { ASSERT_FAIL("buffer is nil!"); break; } uint32 numLeftInBuffer = this->fCountBytesStored -
1 vote -
Sample script "PlaceMultipagePDF.vbs" does not work properly
Related threads in the support community
https://community.adobe.com/t5/indesign%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A9%E3%83%A0/ct-p/ct-indesign-jp?page=1&sort=latest_replies&filter=all&lang=all&tabid=discussions&profile.language=jaThe above is a recent event, but the following thread is from 2018. We can assume that the situation is not good and has been going on for several years.
https://community.adobe.com/t5/indesign-discussions/indesign-placemultipagepdf-script-only-adds-pdfs-to-the-end-of-the-document/m-p/14015164?profile.language=en#M538521I can't try it in CS already, but presumably the problem is still the same and bad in all versions since CC.
The "PlaceMultipagePDF.vbs" set of sample scripts pre-installed in InDesign clearly behaves abnormally compared to the .jsx, .applescripts of the same name.
Observing the behavior of .jsx and .applescript, it seems that the following processing steps are involved. 1.
1. display…13 votesThis issue has been resolved in the latest version of InDesign 2024(v19.0). Please update to this version of InDesign from Creative Cloud Desktop application to get the fix.
--
Adobe InDesign team
-
Hindi page number
I am using the Hindi and Marathi fonts for InDesign, but the page numbering no matter how much I try it just keeps on coming in English numbers instead of Hindi numbers. Can you please update this feature too.
1 vote -
InDesign Scripting Guide - Script Requirements
Hi Team,
I am developing Adobe Plugins that work with Adobe Illustrator and InDesign. We need your support for the following requirements.
- Please provide an official scripting guide for Adobe InDesign.
- We cannot find the right script for the following actions in InDesign 2.1. To read and write leading from and to a Text Frame. 2.2. How to create groups or groupItems in InDesign? 2.3. How to add textFrames and other groupItems into the groupItem in InDesign? 2.4. To read and write width from and to a Text Frame. 2.5. To read and write height from and to a TextFrame.
…
1 vote -
CC 2022: outdated linked Indd-Document on MasterSpread replaces content
I am met with the following bug on our 2022 server (v17.4.2):
when updating outdated links via script I use this line:
openDoc.links.everyItem().update();
however, if those outdated links are linked indd-pages contained on my masterSpreads, then instead of updating the links, the contents of my document will be completely replaced by the contents of that linked file.
I encountered the same bug when using place() to place another indd document containing the same outdated links. So place() also replaced the contents of my file. the image shows the contents of my file before and after updating my links.
This is…
1 vote -
ScriptUI is not fully compatible with UI scaling
When UI scaling is set to anything higher than the minimum, some scriptui palettes behave very unexpected and are not useable anymore. More simple windows do work fine, though.
I suspect that some complex ui elements such as the ListBox trigger this behaviour, somehow confusing the layout manager. I found that a (palette) window is rendered too small if it includes a ListBox. Any attempt to resize the window by the user makes all elements go away (or the whole window in ID 2024).
In another case, programmatic positioning of the palette made it disappear. This works fine as long…1 vote -
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 -
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 -
Two calls to waitForProcess() required to preflight some files
When preflighting some files IDS outputs a "No errors yet; still looking" message to the console and no preflight results are returned.
But when we make 2 calls to waitForProcess() we can retrieve the preflight results.
Sample jsx file attached (as a .txt file). I can supply .idml files that require the two waitForProcess() calls.
We found the fix on a German forum post from 2014: https://www.hilfdirselbst.ch/foren/Preflight_Meldung_No_errors_yet;_still_looking__P529496.html
1 vote -
findColor() returns a number, it should return objects to which the colour was applied
Using the Colour tab in the Find/Change dialog you can search text and/or objects to which a certain colour was applied in the document. That works fine.
However, in a script, this call:
app.findColorPreferences.properties.findWhat =
app.documents[0].swatches.item ('red');
app.documents[0].findColor();returns the number of objects to which the swatch 'red' was applied. It should return the objects to whci the swatch was applied.
This makes the function entirely useless. Please fix this.
2 votes -
Generate Adobe Color files from hexadecimal
Generate Adobe Color files from hexadecimal
There is a way to generate an *.ASE file for importing color samples into Adobe software (PS, AI, ID...) starting from a list I have in a TXT, CSV, EXCEL or other file.
example of the list:
e0cffc
c29ffa
a370f7
8540f5
6610f2
520dc2
3d0a91
290661
140330
therefore I would like these color codes to be saved in an *.ASE file that can be imported into INDESIGN which generates the 9 colors (9 as 10,000 colors)
Step 2 (optional) - if these colors can somehow be "also" converted from HEX to CMYK
1 vote
- Don't see your idea?