Sidebar

reference:scripting_reference:scripting_objects:viewers

The Viewers object is a collection of all currently open standalone image viewers. It can be obtained via the DOpus.viewers property.

 

Property Name Return Type Description

<default value>

collection:Viewer 

Lets you enumerate the currently open viewers.

lastactive

object:Viewer 

Returns a Viewer object representing the most recently active viewer window.

Method Name Arguments Return Type Description

Update

none

none

The first time a script accesses the DOpus.viewers property, a snapshot is taken of all currently open viewers. If anything opens or closes viewers after this, these changes will not be reflected by snapshot unless you re-synchronize it by calling the Update method.