Is there a Standalone Viewer event?

Is there an "on..." event that triggers when the standalone viewer is opened/closed (something like "OnViewerFocus")? I have a few things that I would like to set up when the viewer first opens and then to re-check their state each time it re-opens. OnListerUIChange triggers when the viewerpane opens, but apparently not when the standalone viewer changes state.

If not, one of the "things" I would like to do is to display a floating toolbar when the viewer is open and hide it if not. If there is no "ON..." event for the viewer, is there an alternative way of achieving this?

If not, as a less attractive third possibility, is there a way of changing the position of the viewer toolbar to attach to the left/right/bottom of the window?

Clearly, neat ways of achieving all three would be ideal!

Apologies for asking something whose answer is probably obvious (but I have looked).

Many thanks
John

There aren't currently scripting events for the viewer, and the viewer toolbar can only be at the top at present (if we're talking about the customizable viewer toolbar new in the Opus 12 public beta).

Sorry - yes I am using dopus12 beta. Thanks for the response - it would be great if the viewer event could be considered as things move ahead.

John

In the next beta we'll add an OnViewerEvent script event which will let you get notified about things like this.

Goodness, what a great response! I much look forward to it.

Many thanks
John

Just checking - is the OnViewerEvent script event still on the cards? I do realise that there is a lot being done so this is no sort of demand, I just remain curious.
John

Actually it made it into Beta 8 but for some reason not the release notes!

[quote]Added OnViewerEvent script event. Called when certain viewer events occur.

  • The event is passed a viewerEventData object, with properties "viewer", "event" and "item" (if applicable)
  • The events currently defined are "create", "setfocus", "killfocus", "destroy" and "load"[/quote]

That's really good news - many thanks.
John