GotoCurrentPage()

Syntax:

GotoCurrentPage()

Remarks:

This function will go to the current page in the page history. This can be useful to reset a page back to its initial state. Thus any page variables will be reset and the layout of objects will revert to their starting positions.

As a publication runs, Opus keeps a list, called the Page History, of all the pages visited. The GotoNextPage and GotoPreviousPage functions will move through this list. If more than one view is open at one time, such as the Layout panels or chapters in separate windows, then each view has its own Page History. No parameters required.

image\Script_Button.jpgExamples