Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

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

118 results found

  1. 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)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  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. 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)
  13. 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)
  14. 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)
  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. 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)
  20. 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)
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base