ActivateWindow

Activates specified child window.

Syntax

ActivateWindow(docPath, windowName)

Parameters

Parameter

Type

Description

docPath

string

Document (data file) path.

windowName

string

Window name, for example [Graphs1]

Return

None.

Examples

Python

import nex
doc = nex.GetActiveDocument()
docPath = nex.GetDocPath(doc)
nex.ApplyTemplate(doc,'Autocorrelograms')
nex.ActivateWindow(docPath, '[Graphs1]')

NexScript

doc = GetActiveDocument()
docPath = GetDocPath(doc)
ApplyTemplate(doc,"Autocorrelograms")
ActivateWindow(docPath, "[Graphs1]")