Setting SkipNavigation via the Command Window

The code below shows how to implement the logic of the “Set SkipNavigation” DevEx tool if you wanted to do it in the Command Window. 18 is the first page number in the range and 29 is the last page number. In DevEx tool itself, you need to read the starting and ending page numbers from fields and do some error checking to make sure the book has that many pages and so forth. But this code shows the main logic.

step num from 18 to 29
 pageId = page num
 skipNavigation of pageId = true
end step

 

Advertisements