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

Adding Track Changes to Document?

Advisor ,
May 13, 2016 May 13, 2016

I got a Track changes script from this form i was wondeing if there was a way to make it put my information in a text box about .75in from the top of my documents?Screen Shot 2016-05-13 at 9.25.21 AM.png

Below is the script i'm using

var myChanges = app.documents.everyItem().stories.everyItem().changes; 
var myString = ''; 
for (var i=0; i<myChanges.length; i++) { 
        var myChange = myChanges
        myString += myChange.userName + '\t'; 
        myString += myChange.date + '\t'; 
        myString += myChange.changeType + '\n'; 
      
alert(myString); 

TOPICS
Scripting
471
Translate
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

Community Expert , May 13, 2016 May 13, 2016

No. I think, it would not track everything.

See the three different kinds of change.changeType :

ChangeTypes.INSERTED_TEXT

ChangeTypes.DELETED_TEXT

ChangeTypes.MOVED_TEXT

If you exchange an image inside its container frame, even when it's anchored, should not count as change.

That's just my assumption, I did not do anything with change yet.

Uwe

Translate
Advisor ,
May 13, 2016 May 13, 2016

Also why does this not show when a change is made to an  image?  it keeps saying there's changes to text.  Not a big deal but just wondering.  Because in my thinking the app.documents.everyItem() should track everything and display anything that has been changed.  am i wrong on how i'm thinking on this>

Translate
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
Community Expert ,
May 13, 2016 May 13, 2016
LATEST

No. I think, it would not track everything.

See the three different kinds of change.changeType :

ChangeTypes.INSERTED_TEXT

ChangeTypes.DELETED_TEXT

ChangeTypes.MOVED_TEXT

If you exchange an image inside its container frame, even when it's anchored, should not count as change.

That's just my assumption, I did not do anything with change yet.

Uwe

Translate
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