Get(ActiveLayoutObjectName) does not work.
As per the instructions ....
Get(ActiveLayoutObjectName)PurposeReturns the object name of the active layout object in the calculation's current window; otherwise, returns an empty string.ExamplesThere is a named button on the current layout called cancelButton. When the focus is on the button, Get(ActiveLayoutObjectName) returns cancelButton.
I have and get focus on my (named) button because the different styles of Normal, In Focus, Hover and Pressed actually work !
However the following does not work.
It can not pick up the Get(ActiveLayoutObjectName)
I end up with a NULL value
First line of the script attached to the button is to record which button pressed....
Set Variable $ButtonPressed to Get(ActiveLayoutObjectName)
Is it that by the time the script runs the button does not have focus any more or what ?? It is the last thing to have focus !
Can anyone please help me ?