Pages - Overview

The Page functions are used in a script to manipulate pages in a publication. For example, you can add a page to the Bookmark feature and then show the page you have bookmarked. These functions are equivalent to the Bookmark actions in the Bookmarks menu of the Actions dialog.

Hierarchy:

As well as the specific functions listed under the Functions: heading below, you can also use the following OpusScript functions:

image\Script_Button.jpgBasic Object functions

Class Hierarchy:

Pages

image\Hierarchy_Level.jpg Basic Objects

Hierarchy of objects in Opus

Functions:

ClearBookmark

Clear a Bookmark for the current page

CopyToClipboard

Copy the page to the Windows clipboard

GetBookmarkPage

Get Bookmark page by its index number

GetFirstBookmark

Get the first Bookmark page

GetMousePosition

Get the x and y coordinates of the current mouse position

GetNextBookmark

Get the next Bookmark page

GetNextPage

Get the next page in the publication

GetPageNumber

Return the page number of the current page open in the publication

GetPreviousPage

Get the previous page in the publication

GetPublication

Get the name of the current publication

GotoBookmark

Go to a specific Bookmark

ResetVars

Reset all page properties variables

SetBookmark

Bookmark the current page

ShowBookmarkDialog

Show the Bookmark Dialog box