I can't find out what the js-command is to update chapter and paragraph numbers from a book!? The search option to specific forum is not working temporarily, so it's hard to find it out.
Do you mean app.activeBook. updateChapterAndParagraphNumbers()?
Try using Jongware's excellent reference tools for the scripting DOM.
As for search, try googling for: site:forums.adobe.com +"indesign scirpting" +"search terms"
Hopefully Jive's search will be back soon. Theoretically about now, based on this estimate.
Thanx both, it is working!!