Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

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

121 results found

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

    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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
  11. InDesignServer - All Layers are allways unlocked

    InDesign Server 2021 and 2022 do unlock all Layers every time a document is opened.
    There is no way to know the initial state of the layers. They are always unlocked for the Scripting.
    Furthermore, this change is also saved to the document, removing the locks the user did.
    I tested this with following script:

    var file = new File("C:/Test/Test.indd");
    var doc = app.open(file);
    for (var i = 0; i < doc.layers.length; i++) {
    var layer = doc.layers[i];
    app.consoleout("Layer " + layer.name + " Locked: " + layer.locked + " Visible: " + layer.visible);
    }
    doc.close(SaveOptions.YES);

    I've already posted this…

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. 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)
  13. 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)
  14. 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)
  15. 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)
  16. InDesign 16.3.2 not authorised to send Apple events to other apps

    I’m using the InDesign do script AppleScript command to instruct another application to do something.
    Since 16.3 this doesn’t work anymore, because macOS prevents the script from running. Previous versions of InDesign worked fine, after the user allowed InDesign to control the target app.

    Usecase:
    I’m the developer of a font manager and want InDesign to report which fonts are used in a document

    macOS version: 11.3.1
    InDesign version: 16.3.2

    Steps to reproduce:

    1. Reset the macOS Apple Event permissions for InDesign in Terminal:
      tccutil reset AppleEvents com.adobe.InDesign

    2. Run the following AppleScript:
      tell application id "com.adobe.InDesign"
      do script "tell application \"Finder\"

    9 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Tool for sustainable Design

    Hello dear Adobe team,

    At the moment there is a lot of talk about environmental problems and sustainability. Responsible use is particularly important when it comes to the use of finite and regenerative resources.

    The AGD has developed a charter for sustainability for this purpose. "Designers are largely responsible for
    how our world is shaped. Design shapes, design is a role model and creates
    new awareness. Design consumes resources - sometimes more,
    sometimes less. The sustainable use of natural resources,
    with the environment and with the people who have remained in this world for generations
    should be able to live,…

    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  ·  Apple 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. Ability to identify if a Story is TOC_STORY, which TOC_STYLE is in use

    Using InDesign Server (or scripts in InDesign Desktop) via JavaScript, it would be very helpful if there was an API/mechanism for discovering details for table of contents usage.

    Current Issue:
    It doesn't look like there is a way to see if a TOCStyle is actually used anywhere. A document can contain multiple TOCStyles, but it's possible only one is placed in the document. Likewise, it doesn't appear there is a way to resolve the TOCStyle being used for a Story that is of type StoryTypes.TOC_STORY.

    Proposed solution(s):
    - Add a Stories property to the TOCStyle object that contains references to…

    7 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

    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. HyperlinkTextDestination elements missing from anchored objects in exported icml

    When exporting icml from InDesign, anchored objects with hyperlink text destinations inside of them are missing those destinations.

    Steps to reproduce:

    1. Make a new document with text.
    2. Insert an anchored text frame with text into the story.
    3. Insert a hyperlink text destination into the anchored text frame.
    4. Create a hyperlink from outside of the text frame to inside of it.
    5. Export icml of the story.

    In the exported icml, the hyperlink destination will be missing and the link will be broken.

    12 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base