Answered
Jump to page in active story
I have two diff stories in my InDesign file.
In the first story there are two Table of contents pages. and in the second story there is actual content.
How to jump to an active story s page only.
Using below code to Jump to a specific page but it is considering TOC pages also.
eg. when I jump to 23 rd page, it actually jumps to the 21 st page.
var doc = app.documents[0];
var page = doc.pages.item(Number(23));
app.activeWindow = doc.layoutWindows[0];
app.activeWindow.activePage = page;
app.activeWindow.activePage = page;
Thanks in advance.
