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

    13 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  2. 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
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

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

    3 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  Java Script  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Adobe InDesign: SDK/Scripting Bugs and Features

Feedback and Knowledge Base