cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

close all like this user-defined outlines

Hello, I'm trying to replicate the behavior of <<close all like this for outlines I've created from scratch in JSL.

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. 

 

6 REPLIES 6
jthi
Super User

Re: <

To my knowledge you cannot add custom properties such as helpKey to display boxes (I have asked this from developers). 

-Jarmo
MathStatChem
Level VII

Re: <

Is there a wish list item for this?  

jthi
Super User

Re: <

I don't remember that I would have created one. I have told about the wish to developers in JMP Discovery Summits and maybe shared it in some EA feedback.

-Jarmo
MathStatChem
Level VII

Re: <

jthi
Super User

Re: <

This is one of the places where I would maybe even consider creating JMP Class. You could also collect the references and just close them normally.

-Jarmo

Re: close all like this user-defined outlines

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.

Recommended Articles