Open navigator in script possible?

Is there a command to allow a navigator to be opened via script?

Thanks in advance

Subject: Open navigator in script possible?

The designer Help database is your friend.

LOTUSSCRIPT/COM/OLE CLASSES

OpenNavigator method

Opens a navigator in the database.

Note This method is new with Release 5.

Defined in

NotesUIDatabase

Syntax

Call notesUIDatabase.OpenNavigator( navigatorName$ [, fullWindow] )

Parameters

navigatorName$

String. The name of the navigator you want to open.

fullWindow

Boolean. Optional. Specify True if the navigator should be opened in its own window.

Subject: RE: Open navigator in script possible?

Tried the following code to open a navigator within the current database but I get a “Object variable not set” error. The spelling of the navigator is correct. Any idea why this doesn’t work?

Dim workspace As NotesUIWorkspace

Dim uidb As NotesUIDatabase

Set uidb = workspace.CurrentDatabase

Call uidb.OpenNavigator("Navigator Name")

The help file does not give an example of the opennavigator command.

Subject: RE: Open navigator in script possible?

You declared the workspace variable but you didn’t initiate it. I hope the terminology is right. Anyways, add the following line to you code in place of the workspace declaration.

Dim workspace as new NotesUIWorkspace