Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback

114 results found

  1. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  C++ SDK  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    6 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. [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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  C++ SDK  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. 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=ja

    The 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#M538521

    I 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 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  VB Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  InDesign Server  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. 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.

    1. Please provide an official scripting guide for Adobe InDesign.
    2. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  InDesign Server  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. Moving Anchoring Text to Anchored Object Crashes InDesign

    Given a Text instance (source) that contains an anchored object (U+FFFC marker), the command source.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' frame

    source.move(BEG,dest); // --> ID crash
    //source.move(BEG,host); // WOULD BE OK
    //source.duplicate(BEG,dest); // WOULD BE OK

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  InDesign Server  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. Redirect support to the InDesign from web browser

    Adding the ability to handle redirects to the InDesign CEP/UXP extensions would make the authorization process for extensions in third-party services easier.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. 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.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. Allow Mail Merge Preview Scripting

    It would be super handy if we could make a few options available to improve the mail merge process and automation via scripting. These include:
    1. Allow the mail merge preview to be switched off and on via script
    2. Allow the data file to be refreshed via script

    I'm trying to build a script that basically turns off preview, refreshes, turns preview back on. In an ideal world this would just be a refresh button at the bottom of the data merge panel that does all this behind the scenes - that also has the ability to be called…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Buttons are not working when a top layer is blocking it's under layer.

    Hi, buttons don't work if the layer is placed under a layer. It is like the image remains on top with 0% opacity and everything under it, is unclickable.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. getSystemPath using CSInterface throws URI Malformed error

    I was trying to get the my documents folder path of the system using CSInterface getSystemPath function. It works in most of the cases. But it throws URI malformed error (refer the screenshot below), if the path of the documents folder contain characters from languages other than English.

    I debugged the CSInterface.js file at line 521. And I found that the below piece of code returns the path of the folder without encoding the characters from languages other than English.

    window.adobe_cep.getSystemPath(pathType)

    IN MY CASE:

    Path of documents folder: "C:\Users\sanjay\OneDrive - Élégante\Documents".

    window.adobe_cep.getSystemPath(pathType)
    // Returned value -…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  CEP  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. The CreateTOC function regularly crashes InDesign 18.0.

    It has worked fine in previous versions of ID (at least up to v17.0).
    I've yet to work out the fine details, but some documents I create are fine. Most aren't. Creating the TOC manually seems to work.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  VB Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Add `parentPage` and `parentTextFrame` of Table Cell and Row

    Please add parentPage and parentTextFrame to cell and row. Up to now it is not possible to determine, on which page or in which text frame a specific table cell/row is located.

    There is a hack with adding an anchored text frame, releasing it an reading its properties. But this is very hacky an time consuming ...
    Or I have to use insertion points inside the cells/rows to get to the parentPage.
    But this is all very clumsy.
    ( See here: https://community.adobe.com/t5/indesign-discussions/extendscript-indesign-2022-return-parentpage-s-of-last-cells-of-all-tables/m-p/12942541#M477149 )

    Thanks,
    Tobias

    4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Java Script  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
← Previous 1 3 4 5 6
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base