child = evt.getData()
if type(child.focusedChild) = "roInvalid" then exit while
child = child.focusedChild
'do some stuff with the focused node
But according to the focusedChild documentation:
Accessing the value of the field will result in script errors.
Is there a way to get the node that actually has focus?