Views - Overview

The View functions allow you to use a script to control windows in your publication. The Main Publication Window and other popup windows you can create in your publication are known in OpusScript as Views. You can use the View functions for example, to check how many windows are currently open in your publication or to close specific windows down.

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:

Views

image\Hierarchy_Level.jpg Basic Objects

Hierarchy of objects in Opus

Functions:

Close

Close the view

GetFirstView

Get the first view open

GetNextView

Get the next view

GetNumberViews

Get the number of views open

GetPage

Get the page currently displayed in the view

GetType

Get the View Type

GetViewAt

Get the view at a specified index position

GetWindowState

Get information about the window containing the view.