How can we improve Adobe InDesign SDK

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

    Peter Kahrel shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

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

      Feedback and Knowledge Base