Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

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

74 results found

  1. 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)
  2. 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)
  3. 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)
  4. [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)
  5. 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)
  6. 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)
  7. Allow for control of undo tracking Re: Undo Set Scripting Tag

    Currently the only way to manipulate the undo queue is to run a script with doScript and even then it's very limiting. With my current event listeners, the user clicks around a few times and the undo queue fills up with 'Undo Set Scripting Tag' and they are unable to undo simple changes without holding down CTRL+Z for a few seconds. I am unable to use doScript because I need to return values to my interface. I would like to suggest an option to temporarily suspend undo tracking during certain script actions. Some of my actions do not change 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  ·  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. 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

    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)
  9. Preferences folder access via ExtendScript with macOS Catalina public beta 3

    I've installed macOS X Catalina public beta 3 and I have an annoying issue with scripting.
    I can't access to the user's preferences folder via Javascript even if I've assigned to InDesign full file system access in the security panel of the system preferences.
    I can't read any files inside the user's Library so that I can't load a GREP query for example.

    Hope you find a fix on 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

    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. ExtendScript feature: asynchronous PDF export for indb books

    I'd like to see an asynchronous export option for indb books as it exists for indd documents because why not.
    Currently I work with 10 indb projects and I'd like to export them by 4 using all the power of my 4-core cpu, but I can only export them one by one due to lack of asynchronous export option.
    At the same time I'm able to export 4 indd files using existing asynchronousExportFile() method.

    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. Arrow with start/end in scale

    If I have an line with a start/end and it's in different scale, when use transformation method, the start/end doesn't scale, even with "Adjust Stroke Weight when Scaling" and "Adjust Effects when Scaling" are turned on. See screenshots of before and after procedure.

    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. Indesign crash when the graphics inside the table

    I want to check the table have any track changes. But I have this case make the Indesign crash if the graphics inside the table using following script.

    var abc = app.activeDocument.stories[0].tables[0].changes.length;

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

    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)
  14. 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)
1 2 4 Next →
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base