0 Replies Latest reply on Jul 5, 2014 12:53 PM by tdortiz

    JavaScript to Synchronize the contents of a book (.indb)

    tdortiz

      I'm new to programming and JavaScripting, I'm trying to learn, but I can't find a way to synchronize a book (all it's content). I would also like to set the first document in the book as the style Source document.

       

      So far this is my ridicules thinking.

       

      var bookSync = app.activeBook.bookContents;

      //var bookSource = bookSync.styleSourceDocument.id[0];

      bookSync.synchronizeObjectStyle;

      //bookSync.synchronizeMasterPage;

       

       

      Thank you!

       

      Tom