How to switch to the book window
Dear friends and experts,
After performing a number of actions on the files of a book the last document is open and active.
Now I should re-activate the book window to perform another set of actions (running through the book components).
I have not found a method to switch/activate to the book window in a script.
if (app.FirstOpenBook.ObjectValid()){
alert ("We have a book") };
else { alert ("There is no book in this session")};
I can assure with this that there is a book, but how to make it active?

