Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

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

74 results found

  1. Indesign crash with findGrep()

    findGrep() causes a crash with the following terms:
    "w?"
    “\w?”
    “h?”
    “w?i?”
    ...

    e.g.:
    app.findGrepPreferences = NothingEnum.nothing;
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.findWhat = "w?";
    var _result = app.activeDocument.findGrep();

    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

    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)
    FIXED  ·  Abhinav Kaushik responded

    Hello All,

    Thank you for reporting the issue to us.
    We have fixed the issue in the latest version of InDesign, Id 14.0.3

    Please upgrade your InDesign application to the latest version to try out the fix.

    If you are unable to see the update yet, go to Creative Cloud desktop application, open the menu (three dots) from the top-right corner and click on ‘Check For App Updates’.

    If you face any problems with the new update, do let us know in the comments.

    You may also follow the below given link for the list of all fixed issues in Id 14.0.3
    https://helpx.adobe.com/indesign/kb/fixed-issues.html

  2. How to turnoff Type contextual controls in Indesign CC 2018?

    app.typeContextualUiPrefs.showFractionsUi = false;
    don`t work

    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. A reference to panel item 25 breaks a script

    There's a rogue panel that breaks InDesign CC2019 when it is referenced (CC2018 is not affected).

    Open InDesign CC2019, then run this one-line script:

    app.panels[25].name

    Result: Error: 'Invalid object for this request'.

    Now do this:

    app.panels[25].isValid

    which returns true.

    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

    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)
    Under Review  ·  amaarora responded

    Thanks for reporting the issue. We are reviewing it

    -InDesign Team

  4. Inner glow size limited to 144pt

    Setting innerGlow size to larger than 144 pt via script causes an error for invalid value outside an expected range of 0-144. However, the UI allows size up to be over 13 inches. I have not tested all the other effects, but I believe this is the case for inner shadow and feather as well.

    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

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

    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

    4 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)
    Need More Info  ·  amaarora responded

    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

  6. pdfComment -- no way to find relevant text in the document

    There has to be a way to get the relevant text in the document -- or else there's no point to making the pdfComments available

    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

    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. Preflight for books

    You can preflight books: myBook.preflight()
    But there is no corresponding function to preflight individual documents. Please add the preflight() function to the document object.

    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

    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. ScriptUI Centering Breaks when switching monitor

    If you switch monitors (i.e., unplug your laptop from a large monitor and go to present at a conference), and don't restart InDesign, scriptUI doesn't update the center position of the monitor.

    It causes scriptUI windows to appear out of place.

    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

    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. ExtendScript access to animation path object

    Inside of the animationSettings, there's no way to access or manipulate the motion path as a path object.

    It would be useful to have access to that path and be able to run path functions on it (add/remove points, simplify, etc).

    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

    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)
  10. 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.

    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

    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. Hanging & Overset Issue

    Hanging & Overset is the Main Issue, still we cannot find the root cause why this is appearing in all the time. Please check the feasibility to avoid the Overset issues occurred for Long Text without having space or Long Tables and Mostly Hanging issues occurred in Keep Options On or Off. Please check the feasibility and do the needful.

    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

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

    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)
  13. 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)
  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. Text variable instances. Please change TextVariableInstance::resultText from read only to read/write for modifying with scripts

    It would also be nice to plug a script to modify the text replacement from the text variable dialog.

    Such an opportunity is needed, for example, for alternatively replacing paragraphs that are too long with a shortened version.

    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)
  16. Add an Application Event for "failedToOpen", similar to "beforeOpen" and "afterOpen"

    It would be useful to be able to create an Event Listener that would fire when a document failed to open. It would be great if we could cancel the default behavior using the PreventDefault.

    My use case is the following. We offer a script that adds a custom menu item to allow users to select, convert, and open files that aren't usually supported by InDesign. We want to be able to offer the same type of functionality if the user attempts to open one of our supported file types through the standard Open Dialog (File->Open).

    We would set up…

    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)
  17. app.activeBook

    When more than one book is open, selecting the book tab (when they're tabbed), doesn't work for app.currentBook in scripting. It's needed to click inside the book panel to have it targeted. Just the tab selected doesn't work.

    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)
  18. Scripted iterative document open/close fails to close files

    Note: my sample code is jsx, but the problem may not be limited to jsx. Change the filetype of my provided files from txt to jsx prior to using!

    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…

    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)
  19. textStyleRange.convertToNote() becomes very confused.

    I'll attach a self-contained script which first creates in order to demonstrate problems with textStyleRange.convertToNote(). The script creates a small document containing "b"s. These are marked with a smaller pointSize so that they form individual textStyleRanges. The script then converts these textStyleRanges into notes. Unfortunately, the script terminates with a message: "Object is invalid; tsr.convertToNote()". This message happens because the scripting engine has become confused and is trying to convert a "b" within a note into another note. This shouldn't happen and is the first problem.

    Open the story window. The beginning of the story has a clear pattern of…

    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)
  20. Default Composer doesn't change via SDK

    If I change the Default Composer via the Preferences Advanced Type dialog then query it in a script using app.textDefaults.composer I can see it has changed. However when I change it via a script it appears to change when I query it again but it is not changed in the prefs dialog and if I create a new document it is not the default composer. This is all with no open documents btw.

    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)
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base