Get(WindowName)

Returns the name of the window on which the script is acting.

Format 

Get ( WindowName )

Parameters 

None

Data type returned 

text

Originated in version 

7.0

Description 

Returns an empty string if there is no window.

Notes 

  • The window on which the script is acting may not necessarily be the foreground window.
  • You can set the window name with the Set Window Title script step.

Example 1 

There are two windows, Teachers and Students, displaying the same layout that includes an unstored calculation field containing Get(WindowName). Teachers is returned when the Teachers window is refreshed, and Students is returned when the Students window is refreshed.