Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

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

123 results found

  1. Crash when adding a "checkbox" into a "cell" of a table

    I'm trying to add a Checkbox into a cell of a table with JavaScript.
    When executing the code InDesign crashes.

    With my Script I'm looking for certain text in a table, delete it from the cell and then want to add a checkbox instead. So my code is looking something like this:

    var found = app.documents[0].findGrep();
    found[0].parent.contents = "";
    var myBox = found[0].checkBoxes.add();

    0 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. 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)
  3. 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)
  4. 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  ·  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. 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)
  6. Make the (Black) Color Swatch a TRUE BLACK

    In the Appearance Panel, the (Black) color swatch is not a TRUE BLACK color and when this color swatch is used and a file is exported to PDF, Rich black is not achieved.

    The attached document shows a few shapes that are black. The top right is a true black color and the color swatch had to be changed from the standard (BLACK) color swatch in order to be achieved when exporting to a PDF. The left and bottom color swatches have the (Black) color swatch from the appearance panel applied.

    Please, Please, Please, make the (Black) color swatch a…

    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)
  7. PreflightScope not working

    PreflightOptions.preflightScope in InDesign has not worked since at least CS 5.5. No matter what value is used, preflight checks the whole document. Here is a sample script (error for color image <250 ppi) that the issue can be tested:

    var currDoc = app.documents[0];
    if (app.preflightProfiles.itemByName("export").isValid){
            app.preflightProfiles.itemByName("export").remove();
    }
    var pfProfile = app.preflightProfiles.add({name: "export"});
    var pfResRule = pfProfile.preflightProfileRules.add("ADBE_ImageResolution", {flag: PreflightRuleFlag.returnAsError});
    pfResRule.ruleDataObjects.add("color_min_res", RuleDataType.realDataType, 250);
    currDoc.preflightOptions.preflightScope = '1-2';
    var pfProcess = app.preflightProcesses.add(currDoc, pfProfile);
    pfProcess.waitForProcess();
    pfResults = pfProcess.aggregatedResults[2];
    $.writeln(pfResults);
    

    ––> with a 3-page document with problems on pages 2 and 3, InDesign reports both problems despite the scope been set to ‘1-2’ (same with ‘1’…

    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

    2 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)
  8. 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)
  9. 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  ·  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. 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  ·  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. inDesign crash with documents.loadMasters()

    i have try to load master page by script (i post a small script test) but indesign crash... if i want copy masterspread from doc1 to doc 2 i must use "duplicate"...

    target indesign

    // create two document
    var doc1 = app.documents.add()
    var doc2 = app.documents.add()

    // add new master spread and set it
    var master = doc1.masterSpreads.add()
    master.namePrefix = "XX"

    // save document on disk and get file
    doc1.save()
    var doc1File = doc1.filePath

    // close
    doc1.close()

    // load master spreads of doc1 on doc 2
    doc2.loadMasters(doc1File)

    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. Make ImageCatalog Script an integral contact sheet function in InDesign

    Good morning. There is a sample script in InDesign that I LOVE! It makes contact sheets much quicker (and using far less memory) than Photoshop or Bridge. If you have a hundred images and want to make a contact page, this script is the way to go. Much more efficient. The Script is the ImageCatalog under JavaScript samples in the Scripts window. This has always been available, and always worked very well until the last couple of updates. Now when I run it, it just sits there. If I try saving the images again (save a copy) or saving them…

    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. [CS6 to 2020 15.0.1.209] documentPreferences.snippetImportUsesOriginalLocation | values true and false do the opposite what they should do

    Hi,
    if I set value for snippetImportUsesOriginalLocation of documentPreferences to true, InDesign will place a snippet file with spread.place( snippetFile ) always at the current zero point [0,0].

    Wheras I set the value to false the snippet will be placed at its original position.

    It should be exactly the other way.

    Currently value false will use the original position and value true will chose the current zero point as defined with app.documents[0].zeroPoint .

    Tested with German InDesign versions:
    CS6 8.1.0
    CC 2014 10.2.
    2020 v. 15.0.1.209
    All on WIndows 10.

    In the discussion linked to below Gerald Singelmann can see…

    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. Collapse Treeview not working

    On Indesign CC (Win or Mac) :
    Treeview with multi levels can be expand with recursive function;
    But collapse operation seems to be not working with similar function;

    On Indesign CS6 (Win or Mac) :
    Treeview with multi levels can be expand.
    Collapse operation runs halfway. But items (not node) on first level are indented too much.

    Run Script treeviewexpandcollapse.jsx to test it

    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)
  15. nextItem() doesn't work

    Instructions:

    1. Load Script4.txt into ExtendScript CC
    2. Open ID CC 2019
    3. Connect ExtendScript CC to ID CC 2019
    4. Run the script
    5. Observe that line 8 gives an "Object is invalid" error. That's because the nextItem() on line 6 didn't work.

    To see this more clearly:

    1. Load Script4.txt into ExtendScript CC
    2. Open ID CC 2019
    3. Connect ExtendScript CC to ID CC 2019
    4. Comment line 6 and uncomment line 7.
    5. Run the script
    6. The script runs fine. It prints out "2", the name of the second page.

    In other words, nextItem() is broken. The work around (in this case) is to use an…

    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. Script failing ... strangely

    Instructions:

    1. Load Script.txt into ExtendScript CC
    2. Open ID CC 2019
    3. Connect ExtendScript CC to ID CC 2019
    4. Run the script
    5. Observe that the script gives an error on line 6 (Invalid object for this request.) This is because TextFrame281 and TextFrame284 are the same object. They should be different objects.

    To see this more clearly:

    1. Load script.txt into ExtendScript CC
    2. Open ID CC 2019
    3. Connect ExtendScript CC to ID CC 2019
    4. Uncomment line 4 (var temp = TextFrame_281.id)
    5. Run the script
    6. The script runs fine. If you look in the document that has been created, the two text…
    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. [15.0.0.155] New property Alternate Text for Hyperlinks is not supported by Scripting, IDMS and IDML

    Hi,
    I see no new property for a new feature with InDesign 2020 version 15.0.0.155:
    Alternate Text for Hyperlinks.

    The feature is also missing with IDMS and IDML.

    Regards,
    Uwe Laubender
    ( ACP )

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

    Thanks for reporting the issue. We are reviewing it

    -InDesign Team

  18. Setting stroke weight to 0 by script results in 1 pt

    Given a frame (graphic or text) with stroke color set to 'None' and stroke weight set to 0, the jsx command "app.selection[0].strokeWeight = 0" sets the weight to 1pt and stroke color to the default swatch.

    Steps to reproduce:

    1. Create a new Document.
    2. Create a new Text (or Graphic) Frame.
    3. Set the stroke weight to 0 and color to 'None' if necessary
    4. Select the frame with the Selection tool.
    5. Start a script with a following one line: app.selection[0].strokeWeight=0

    Expected result: no change
    Actual result: stroke weight set to 1pt and color to the default swatch.

    Note:
    Setting stroke weight 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

    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)
  19. La nueva versión indesign 2020 ya no tiene la opción de Flip page para flash.

    La nueva versión indesign 2020 ya no tiene la opción de Flip page para flash.

    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

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

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base