How to accept all the changes in InDesign Story

Hi experts,

How to accept all the changes in the history of indesign,

Could someone show me how do the script below works.

Thank you

Respect of

John

changes in var = app.documents.item (0).stories.item (0) .changes.

for (var i = changes.length - 1; i > = 0; i--) {}

changes [i]. Accept();

}

var myChanges = app.documents.everyItem (). stories.everyItem () .changes.

for (var i = 0; i)

var myChange = myChanges [i];

myChanges.everyItem () .accept ();

}

Tags: InDesign

Similar Questions

Maybe you are looking for

  • How can I move my ADDRESS BOOK IN THE SIDE PANEL

    I recently changed my computer due to the loss of all data on my old camera. Since reloading my address book manually I don't have that option in my address book in the bar of Tools/menu of the bar on my compiuter after my address book is available a

  • Satellite P750 - formatting the disk deletes C recovery files?

    I own a Toshiba Satellite P750 and I want to install Windows 8 on my laptop, I wonder if the recovery files will be deleted which is what I mean is that after formatting the C drive and install a new OS, I'll be able to restore the laptop to factory

  • 2013 Exchange / Outlook / Iphone problems

    Greetings.  I don't know where is the best place to post this, so I started here. I have a situation with a migration Exchange that some clients are unable to connect to it, and I can't find any reason for the failure. Details: Initially a Server 200

  • Envy dv6 7254eo drivers

    Hello! After a hard drive crash, replacement of the failed drive and reinstall I'm looking for drivers for my desire dv6 7254eo for windows 7 or 8. In general, because there are many of them missing. I have looked at hp.com support site, but can't se

  • How can I make laptop print letters dark

    When I print from Office letters are in bold black... Print the letters of high Tower light and hard to read