Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

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

74 results found

  1. 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)
  2. [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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
  11. 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)
  12. 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)
  13. API REST calls in Scripting for InDesign

    Use scripting to contact a database through API and get a list for the data merge. If this is available already, I'm at a loss on how to implement it and would love assistance.

    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. hyphenationExceptions in Dictionary

    Hi,

    app.documents[0].hyphenationExceptions.itemByName("English: UK").name.

    It returns,

    English: USA.

    https://community.adobe.com/t5/indesign-discussions/hyphenationexceptions-in-dictionary/m-p/13001402#M480763

    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  ·  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. Expose footnote and endnote numbers to the DOM

    Currently, footnote and endnote numbers are not exposed in de DOM, and can't be used in a script. Please expose them, so we could do stuff like this ...

                var endnoteText = myNote.texts[0].contents;
                var endnoteNumber = myNote.number;
    
    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. Add possibilty to hook into Context Menu and reciece the selected Context Menu Item

    I'm looking for a way to add custom scripts to the context menus (right click with the mouse) of the paragraph style and the character style palette.

    So the user finds the style he's looking for, right clicks on it, chooses my script, the script gets the reference to the selected style item, and runs with it.

    I asked this in the forum (in 2015), and it’s still not possible but hardly missed:
    https://community.adobe.com/t5/indesign-discussions/id8-js-context-menu-item-for-paragraph-and-character-style-palette/td-p/7416881

    Thanks, Tobias

    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. Upgrade XSLT enginge

    Please consider upgrading the underlying XSLT 1.0 engine to at least XSLT 2.0 (if not XSLT 3.0)! It’s a pain to be forced to transform before going into InDesign or to write clumsy (for nowadays) XSLT 1.0 code.

    Thanks, Tobias

    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. Add all new JavaScript functions of ECMAscript 6

    Please consider an upgrade of the underlaying JS engine to a newer standard. There are many, many functionality we are missing, e.g. array.indexOf(), array.foreach(), default parameter handling in functions ... the list feels endless.
    Thanks, Tobias

    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)
  19. 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)
  20. Handle SpecialCharacters with unicode equivalents as normal text

    SpecialCharacters are certainly necessary in places where there is no unicode equivalent (such as AUTOPAGENUMBER) but for many characters with unicode equivalents (BULLETCHARACTER, COPYRIGHTSYMBOL), it complicates string manipulation with no benefit (that I can see).

    Example:
    mySelectionContents = app.selection[0].contents;
    alert("The current selection is when added to a string is " + mySelectionContents);
    alert("The current selection is when coerced to a string is " + String(mySelectionContents));

    If you select a single bullet character, and force the specialCharacter to a string by adding it to the alert string you get "1396862068" or "BULLET_CHARACTER" if you explicitly convert to…

    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)
← Previous 1 3 4
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base