Hello, I'm trying to replicate the behavior of <
From the scripting index:
Syntax: obj << Close All Like This
Description: Closes this Outline Box and all Outline Boxes in the display tree with the same original title or help key.
If I inspect a JMP Platform (Fit Least Square) with Show Tree Structure, I do see HelpKey=FitLS etc.. and in fact these outlines respond to ctrl-close/open or to close all like this.
For the case where the title of the outline boxes are the same, this approach might work:
(Report( obj ) << XPath( "//OutlineBox[text()='Name']")) << Close( 1 );
This approach could be extended to cases where the match is not exact.