• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Changes in a table

Engaged ,
Mar 14, 2017 Mar 14, 2017

Copy link to clipboard

Copied

I'm trying to test if the tracked changes occur in a table.

Even if I know the changes are in a table the following returns "story":

alert(myChanges.parent.constructor.name)

However if I highlight the same text and do:

app.selection[0].parent.constructor.name;

It returns "Cell"

Does anyone know a better way to test if track changes occur in a table?

TOPICS
Scripting

Views

319

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advisor , Mar 14, 2017 Mar 14, 2017

myChanges.insertionPoints[0].parent.constructor.name

Votes

Translate

Translate
Advisor ,
Mar 14, 2017 Mar 14, 2017

Copy link to clipboard

Copied

LATEST

myChanges.insertionPoints[0].parent.constructor.name

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines