This property returns the target box associated with the current event object that
was fired. For more information please see the
box class.
function onClick()
{
var targetBox = shell.currentEventTargetBox;
if (targetBox)
{
shell.print("ID = " + targetBox.id);
}
}