Adobe InDesign: SDK/Scripting Bugs and Features

How can we improve Adobe InDesign SDK

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. InDesign crashes when converting a table (attachment)

    Attachments are disallowed (.indd, .idml, .zip). Please fix.

    2 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

      1 comment  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
    • 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.

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

      3 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

        1 comment  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
      • 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
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

          0 comments  ·  InDesign Server  ·  Flag idea as inappropriate…  ·  Admin →
        • 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

          1 vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

            0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
          • 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…

            1 vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  Apple Script  ·  Flag idea as inappropriate…  ·  Admin →
            • binding

              인디자인 cc 2019 사용하는 캡쳐 화면 첨부를 올려드립니다.

              이 "바인딩" 빨간 네모 표시가 안 나왔으니, 잘 나왔으면 좋겠어요.

              바인딩 방향 오른쪽에서 왼쪽 쓰기 페이지...

              부탁드립니다.

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

                0 comments  ·  Apple Script  ·  Flag idea as inappropriate…  ·  Admin →
              • 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

                1 vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                • 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)
                  }

                  3. Expected output:

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

                  4. Actual…

                  12 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                  • 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…

                    3 votes
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      1 comment  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
                    • 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.

                      6 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                      • 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.

                        1 vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                        • 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.

                          1 vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                          • 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
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                            • 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).

                              2 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                              • Please expose a PDF's page count to scripting

                                I posted this one in the general feature requests section, should have done that here in scripting. Here's the link:

                                https://indesign.uservoice.com/forums/601021-adobe-indesign-feature-requests/suggestions/32582917-please-expose-a-pdf-s-page-count-to-scripting

                                It got quite a few votes over there. . .

                                P.

                                5 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                                • 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.…

                                  3 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    1 comment  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                                  • 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
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      3 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                                    • 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
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                                      • 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

                                        3 votes
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                                        • XSLX Import partially fails on Windows

                                          The problem is while manual import of XSLX files is no worries, it partially fails when the placement is called from script on Windows.
                                          The main issue is that sheetName property seems to be ignored leading to the first sheet always being placed no matter which sheetName has been set.
                                          The expected behaviour is that the sheetName set in app.excelImportPreferences.sheetname is correctly placed.
                                          No problem with old xls format or with xlsx on mac.

                                          6 votes
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1
                                          • Don't see your idea?

                                          Adobe InDesign: SDK/Scripting Bugs and Features

                                          Feedback and Knowledge Base