Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

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

111 results found

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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. 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)
  10. Indesign has stopped working / turns off when turned on / while document is open / after restoration turns off again

    Hello, I am writing to you asking for help. Since yesterday, adobe indesign has stopped working properly. After creating a new document / or opening a file that I was working on, the program crashes. It gives you a file rollback and shuts down again. Once we managed to turn on the program for a moment, but it was enough to stick to paragraph styles and move the frame, the program turns off immediately. I would ask for info on this matter. Tried installing previous versions, still the same problem; I tried uninstalling and reinstalling the program and the situation…

    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)
  11. 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)
  12. Some plug-ins compiled for InDesign 2021 16.0 crash InDesign 2021 16.1 - the 16.0 and 16.1 SDK are incompatible

    When a plug-in relies on the embedded Boost framework to support regular expressions, it can cause a crash because of unresolved dependencies.

    The issue is that the 16.0 SDK uses Boost 1.65 and the 16.1 SDK uses Boost 1.72

    Plug-ins compiled against the 16.0 SDK that use regular expressions will try to access an entry point __ZN5boost16re_detail_10650018get_default_syntaxEh (unmangled: boost::re_detail_106500) when handling regular expressions.

    The problem is that this entrypoint's name is dependent on the Boost version (1.65).

    This entry point is provided by the (on Mac) embedded framework

    /Applications/Adobe InDesign 2021.app/Contents/Frameworks/boost_regex.framework/Versions/A/boost_regex

    When a plug-in compiled against SDK 16.0 is…

    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

    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)
  13. Bug when creating a form check box

    Creating a check box anchored in a text frame systematically ends with a crash in ID v16.2.1.

    javascript:
    app.select( app.selection[0].paragraphs[0].insertionPoints[-2] );
    app.selection[0].checkBoxes.add();

    applescript:
    set thePoint to insertion point -2 of paragraph 1 of selection
    tell thePoint to make check box

    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)
  14. Can't retrieve XMP-metadata from Cloud-stored files

    Hello Adobe and hello Community,

    I'm having a problem with a Javascript I wrote to retrieve XMP metadata from linked files, that are stored in a Creative Cloud Library (Bought from Adobe Stock -> stored in a Library, because i was unable to download the files).

    Ultimately, the script retrieves the Creditline of all the linked graphics in an InDesign-file / InDesign-files in a folder by bulk processing.

    I have to accesse the XMP to retrieve the correct copyrightinfo.
    @Adobe: On Adobe Stock you guys put the information to give credit to the creator in the XMP field "Creditline" (creator…

    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

    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. InDesign Scripting bug? Master Pageitems of specific Layer as Collection

    I want to see all 'master' page items of all master spreads on a specific layer using code like this:

    app.activeDocument.layers.itemByName('existLayerName').pageItems.everyItem().getElements();

    Even such a layer contains 'master' page items, this code always returns an empty array!

    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. 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)
  17. Events: 'afterSelectionAttributeChanged' (LayoutWindow)

    The event 'afterSelectionAttributeChanged' (LayoutWindow) has the "Event" class, but logically its class should be "MutationEvent", since it is not clear which attribute of the object has been changed...

    The mutation event in most classes that have an addEventListener method does not 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

    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. InDesign Server + Catalina = heavy permission problems

    --- Update: PROBLEM SOLVED. See comment below ---

    We have run into to serious problems with running InDesign Server (IDS) on Mac OS 10.5.x Catalina: The problems are somehow related to file permissions and will only show when the IDS instances are started by launch agents (or launch deamons).

    This problem manifests itself in several ways we have encountered – using IDS CC 2020 as well as IDS 2019:

    1. Documents can only be opened from a limited number of locations – actually only one location as far as we know, the /private/tmp/ directory on the local machine. When one of…
    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

    2 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)
  19. Update Indesign script to support ES6

    Update Indesign to support modern ES6.

    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. Separate the indesign scripting forum from the indesign community support forum

    With the relaunch of Adobe's community support forums, the indesign scripting forum was merged with the general indesign forum. Please separate the two so users can find the most relevant content.

    45 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)
    Partial Fix  ·  amaarora responded

    Hi,
    1. The majority of InDesign Scripting threads were merged and archived at first.
    2. After a month or so, InDesign Scripting re-appeared as its own topic in the new forums.
    3. David K. started un-archiving older threads last week, a few at a time, very slowly and by hand, because of odd server-side limitations.
    4. There is no “Direct Link” to the Scripting Topic at this time, but this ought to be fixed with the current sprint from the forums team. The internal bug number is: ALFD-1530

    While we wait for ALFD-1530, there is a backdoor way to find direct links to topics. You can follow a topic then look at your follows… or just use these links:

    • InDesign Scripting: https://community.adobe.com/t5/forums/filteredbylabelpage/board-id/indesign/label-name/scripting
    • InDesign SDK: https://community.adobe.com/t5/forums/filteredbylabelpage/board-id/indesign/label-name/sdk
    • InDesign Server Developers: https://community.adobe.com/t5/forums/filteredbylabelpage/board-id/indesign/label-name/server%20developers

    Thanks

  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base