@hpw
My intension is something like this...
I have 100 or more square objects (rectangle or text boxes or such). All of them could have the same action command something like:
SetVar "[CurrentObj]" "[FocusedObject]"
or
GetObjectInfo
I want to duplicate as many square objects as I need without having to edit the action of each object.
A TextEntry object can use the [FocusedObject] variable but that object is problematic at best. Gain Focus action does not allow a second click without clicking elsewhere first.
GetObjectInfo includes just about everything except object name.
What I'd like is, when I click on a square I can use GoSub and have it SetObjectFill and SetVar "[ClickedBoxes]" "[ClickedBoxes];[clickedbox]" or whatever action I put in the subroutine.
But I need to know which object is clicked.
@hpw
My intension is something like this...
I have 100 or more square objects (rectangle or text boxes or such). All of them could have the same action command something like:
SetVar "[CurrentObj]" "[FocusedObject]"
or
GetObjectInfo
I want to duplicate as many square objects as I need without having to edit the action of each object.
A TextEntry object can use the [FocusedObject] variable but that object is problematic at best. Gain Focus action does not allow a second click without clicking elsewhere first.
GetObjectInfo includes just about everything except object name.
What I'd like is, when I click on a square I can use GoSub and have it SetObjectFill and SetVar "[ClickedBoxes]" "[ClickedBoxes];[clickedbox]" or whatever action I put in the subroutine.
But I need to know which object is clicked.