Get(ActiveLayoutObjectName)

Returns the name of the layout object that has the focus in the calculation's current window.

Format 

Get ( ActiveLayoutObjectName )

Parameters 

None

Data type returned 

text

Originated in version 

8.5

Description 

When no layout object has the focus, this function returns an empty string.

Notes 

  • Clicking a button, a popover button, or a panel control does not give it the focus. To give one of these objects the focus, you must press Tab or perform the Go to Object script step to navigate to a button, tab panel, or slide panel.

Example 1 

There is a named field on the current layout called customerName. When the focus is on the field, Get(ActiveLayoutObjectName) returns customerName.