You are here: Core Reference > Coding > Scripting > Mimic.Navigate

Mimic.Navigate

The Mimic.Navigate function allows the script to open a defined display in the current window

Syntax

Mimic.Navigate(URL)

Description

Opens a defined display in the current window.

Arguments

URL {string}

The address of the display that is to be opened. The URL has to use the ClearSCADA address format.

Returns

String

Example:

Mimic.Navigate("SCX:////CMimic/Overview Mimic")

When run, this script causes a Mimic named 'Overview Mimic' to be displayed in the current window, replacing the Mimic that contained the script.

For more information, see Hyperlink to Another Display.

NOTE: Take care not to confuse the Mimic.Navigate function (which is a function of the Mimic object) with the Mimic_Navigate function. The Mimic_Navigate function is an event handler function and varies according to the language in which you are coding.


ClearSCADA 2015 R2