Skip to content

Adobe InDesign: SDK/Scripting Bugs and Features

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

111 results found

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

  2. 5 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)
    FIXED  ·  amaarora responded

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

    Please upgrade your InDesign application to the latest version to try out the fix. The latest version of InDesign is 15.0

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

  3. 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)
  4. Table footnotes not indexed correctly

    Table footnotes are not indexed correctly in two ways: to the script engine they appear in the wrong order and table footnotes have no .index property.

    The attached document has one text frame with three footnotes in the main text and one table with one footnote. The table footnote is footnote 3. To reproduce the problem, do this:

    1. Open the document.
    2. Run this script against the document (in the ESTK):

    fnotes = app.documents[0].stories[0].footnotes
    for (i = 0; i < fnotes.length; i++) {
    $.writeln (fnotes[i].contents)
    }

    1. Expected output:

    . Note 1.
    . Note 2.
    . Note table.
    . Note 4.

    1. Actual output:

    . Note 1.
    . Note…

    16 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

    3 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 15.0

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

    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 15.0
    https://helpx.adobe.com/indesign/kb/fixed-issues.html

    -InDesign Team

  5. Crash when calling IActionManager::PerformAction() in InDesign SDK Sample

    Steps:
    1. On macOS, build sample plugin "SnapShot.sdk.xcodeproj" which is from Adobe InDesign SDK.
    2. Load the plugin in InDesign.
    3. Create a empty new document.
    4. Open panel "Windows->SnippetRunner[US]"
    5. From snippet name drop down list, select "ManipulateStructureView"
    6. Cick "Go" icon button.
    7. On parameter dialog, select "ChangeStructureViewState(toggle)".
    8. Click OK.
    9. Crash.
    The attachment is the crash log.

    For the same plugin with same operations, the crash only occurs on macOS, but not on Windows.

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. InDesign crashes when converting a table

    In the attached document, when I (try to) convert the tabbed text to a table, InDesign crashes.

    Steps to reproduce:

    1. Open the document from the attached zip file.
    2. Select the text frame.
    3. Run the following one-line script:

    app.selection[0].parentStory.texts[0].convertToTable ('\t', '\r');

    Expected result: a table.
    Actual result: InDesign crashes.

    Note: the crash does not happen when the tabbed text is converted manually:

    1. Select all the text
    2. Table > Convert Text to Table
    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

    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)
    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 15.0

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

    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 15.0
    https://helpx.adobe.com/indesign/kb/fixed-issues.html

    -InDesign Team

  7. 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)
  8. Запись операций

    Возможно создать вкладку с записью операций, чтобы принцип работы был реализован, как в Photoshop.
    А также панель с историей работы в файле.
    Скрипт работы с формулами непосредственно в самой программе 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  ·  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)
  9. 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)
  10. 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

  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. TextFrame ExportFile to Snippet fails if source selection is inner text (ex: an insertionPoint)

    Select an insertionPoint, call parent textFrame through
    app.selection[0].parentStory.textContainers[0]
    Then
    call exportFile (snippet) on that object and export fails.
    It seems the scripting engine has kept the initial insertionPoint as reference when exportFile is called leading to an execution error (this export format cannot be applied to this object).
    It should work.
    Bug encountered with several versions/os.

    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

    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. INumberConverter being ignore when exporting PDF

    I am using CC 2017, but it has been an issue for multiple versions.

    I have a custom plugin that implements INumberConverter on kPageNumberingStylesService Boss for a custom numbering format. This works beautifully until I try to export to PDF. If I print to PDF Distiller it works fine, but when I export to PDF it exports with default numbering style.

    This is similar to an old stubborn bug, when exporting book to PDF would not do the numbering correctly. I don't know that it is related, but they both seem to say that the numbering on export is decoupled…

    5 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  ·  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)
  14. 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  ·  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. problems with work speed

    I change formats of single letters or total paragraphs in a book. If I do this at a start of a indesign file (70 pages, 270 footnotes, no pictures, only opened part of the book) it lasts up to 40 seconds until I can work further. If I do this further to the end of the document the delay is lessens.
    My Win-10-PC has 16 GB RAM and i7-processor

    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)
  16. 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)
  17. 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

  18. 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)
  19. Add MeasurementEditboxes to ScriptUI

    I'd love to see MeasurementEditboxes to ScriptUI. We had them previously, and I don't know why they were never added to ScriptUI.

    You can read more background here https://forums.adobe.com/thread/1007448

    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

    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. Epub toc links are not created when a document's toc is created by a script

    To create a (navigable) Epub TOC you check the 'Make text anchor in source paragraph' checkbox. The links are created correctly when the TOC is created manually, but when the TOC is created by a script, the links are not created.

    To confirm, please open the attached document and run this very simple script:

    app.documents[0].createTOC (app.documents[0].tocStyles.item('Epub'), true);

    The used TOC style ('Epub') has the 'Make text anchor in source paragraph' box checked.

    Then export the document to reflowable Epub. In the Export dialog's General tab, select 'Multilevel (TOC Style)' at 'Navigation TOC' and at 'TOC Style, select the Epub style.…

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

Adobe InDesign: SDK/Scripting Bugs and Features

Categories

Feedback and Knowledge Base