Adobe InDesign: SDK/Scripting Bugs and Features

  1. User Interaction Level resets during Data Merge

    Using at the top of the InDesign tell block:
    set user interaction level of script preferences to never interact

    The way I understand user interaction levels, when set to 'never interact', it should suppress all dialog boxes from popping up.

    When AppleScript performs 'merge records', and the merged record contains missing fonts, ONLY SOMETIMES a missing fonts dialog box pops up and breaks the script. One can close this dialog, run the script again, and the dialog doesn't appear. This unpredictability is why I'm logging it as a bug.

    Looking at the JavaScript DOM, the userInteractionLevel is a setting at…

    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  ·  Apple Script  ·  Flag idea as inappropriate…  ·  Admin →
  2. CC2019: Can't update or relink a link when a document is opened by a script.

    A fault introduced in CC2019: can't update or relink a link when a document is opened by a script.

    Steps to reproduce:


    1. To verify that with an existing open document the problem does not occur:
      a. Start a new InDesign document
      b. Place a graphic on the first page
      c. Run this script:

    app.documents[0].links[0].update();

    No error occurs.


    1. To reproduce the error:
      a. Save the document created in step 1 and close it.
      b. Run this script:

    s = '/d/test/links.indd'; // Use your string
    app.open (File(s));
    app.documents[0].links[0].update();

    Expected result: The links should be updated.
    Actual result: "Error: This file is already…

    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  ·  Flag idea as inappropriate…  ·  Admin →

    Hi,
    Please can you provide some more information related to the issue?
    1. OS
    2. Document and imported file location (local or network)
    3. File system type
    4. Can you share a sample document along with the imported file.
    5. Is the issue reproducible in ID 2020?
    6. A small video will help as well

    Thanks
    amaarora@adobe.com

  3. EvaluateXPath is not working with Namespace, Internet surfing is also not working on this task. For past 5years we searching for this.

    EvaluateXPath is not working with Namespace, Internet surfing is also not working on this task. For past 5years we searching for this solution. kindly check and provide solution hope you are revisiting your old path.

    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  ·  Flag idea as inappropriate…  ·  Admin →
  4. 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  ·  Flag idea as inappropriate…  ·  Admin →
  5. 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  ·  Flag idea as inappropriate…  ·  Admin →
  6. 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  ·  Flag idea as inappropriate…  ·  Admin →
  7. 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  ·  Flag idea as inappropriate…  ·  Admin →
  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  ·  Flag idea as inappropriate…  ·  Admin →
  9. publish online services

    yesterday, i was able to publish online the document in indesgin. Today it says i am not able to publish online the document as the server is not available.
    I tried diffrebt ways can you help?

    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  ·  Flag idea as inappropriate…  ·  Admin →
  10. BUG - Scripting: multiple paragraph styles for multiple paragraphs in one text box not working correctly

    Paragraph styles are not being applied correctly when setting more than two paragraph styles for more than one paragraph in a text box.

    For three or more paragraphs, paragraph n is set to paragraph style n, and paragraphs 1 through n-1 are set to paragraph style n-1. The expected behaviour would be that paragraph 1 is set to paragraph style 1, paragraph 2 is set to paragraph style 2, paragraph 3 is set to paragraph style 3, ..., paragraph n is set to paragraph style n.

    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  ·  Flag idea as inappropriate…  ·  Admin →
  11. 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  ·  Flag idea as inappropriate…  ·  Admin →
  12. Catalina AppleScript seems to be broken

    Tried a few samples that came with ID -- they all stop with errors

    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  ·  Flag idea as inappropriate…  ·  Admin →
  13. 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.

    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  ·  Flag idea as inappropriate…  ·  Admin →
  14. A new TextFrame InsertionPoints.count changes from 1 to zero when linked to a previous frame and the program effectively crashes

    Replaces a previous post - this is written and tested in VB Script:

    Set myInDesign = CreateObject("InDesign.Application.2020")
    Set myDocument = myInDesign.Documents.Add
    Set myPage = myDocument.Pages.Item(1)
    Set myTextFrameA = myPage.TextFrames.Add
    myTextFrameA.geometricBounds = Array(72, 72, 144, 144)
    Rem Add a page.
    Set myNewPage = myDocument.Pages.Add
    Rem Create another text frame on the new page.
    Set myTextFrameB = myNewPage.TextFrames.Add
    myTextFrameB.geometricBounds = Array(72, 72, 144, 144)
    mycount = myTextFrameB.InsertionPoints.Count
    msgbox(mycount)
    myTextFrameA.NextTextFrame = myTextFrameB
    mycount = myTextFrameB.InsertionPoints.Count
    msgbox(mycount)
    myTextFrameB.InsertionPoints.FirstItem.Contents = "This is Bob"
    Rem "Program Crashes"

    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  ·  VB Script  ·  Flag idea as inappropriate…  ·  Admin →
  15. 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  ·  Flag idea as inappropriate…  ·  Admin →
  16. interactive form

    Despite determining the activation sequence, the cursor with the tabulator does not jump to the correct field

    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  ·  Flag idea as inappropriate…  ·  Admin →
  17. False state with app.gpuPerformancePreferences.enableGpuPerformance if no GPU available

    Function GetEnableGPUPerformance() of interface IGPUPerformancePrefs of GetExecutionContextSession()->QueryWorkspace() returns true in case no GPU or a not supported GPU is installed on your macOS computer.

    To reproduce launch InDesign CC 2018 or later with modifier keys command, option, control, and shift pressed and confirm resetting the preferences.

    If you now check the setting either with some C++ code, or ExtendScript "app.gpuPerformancePreferences.enableGpuPerformance", in both cases the returned result is true , which is not the expected result.

    When you now choose Preferences > GPU Performance the properties are shown deselected and disabled, which is correct. If you now click in "OK", the…

    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  ·  Flag idea as inappropriate…  ·  Admin →
  18. The scale X percentage option shold have short key so that I don´t have to write 100% manually in the meny while working in prepress.

    The scale X percentage option shold have short key so that I don´t have to write 100% manually in the meny while working in prepress. When I update links in my prepress documents the scale down to 91% and that´s really frustrating that I can´t just mark them and use a short key to resize them to 100%. Especially if you have updated for example 50 links.

    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  ·  Flag idea as inappropriate…  ·  Admin →
  19. Scripted iterative document open/close fails to close files

    Note: my sample code is jsx, but the problem may not be limited to jsx.

    We have multiple products that sometimes show a problem with document.close() not actually closing the file, leading to incorrect functioning, memory bloat, slowdowns, and we believe some crashes. I provide a test script that takes a currently open document and iteratively copies it, opens the copy, then closes the copy -- after the loop is finished, the copy files are removed.

    Important: If run from the ESTK or Scripts Panel, the script works as expected -- no problems. If run from a custom menu (setup…

    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  ·  Flag idea as inappropriate…  ·  Admin →
  20. Enable XML export in Word file format so tagging and attributes are preserved.

    InDesign cannot currently export an XML structured file in Word file format, either because Word does not recognize the tags and attributes or because those elements are not within the document content. Please make an export possible so that XML structured content can be exported in Word file format and then reimported into InDesign.

    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  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base