Hello,
I want to get text from a framebox, but I haven't figured out the syntax for doing this. Can someone help?
I've adapted script from this thread, but find it doesn't seem to work for what I'm looking for.
https://community.jmp.com/t5/Discussions/JSL-Retrieve-Selected-Frame-Box/m-p/14552
I also have another script that grabs numbers from the profiler graphing tool, and I've adapted that, but I think I haven't modified that properly either.
Here's an example below.
names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
myrpt << Show tree structure;
// Try 1
mynum1 = myrpt[ Framebox(83) ] << Get text; // Send error
show( mynum1 );
// Try 2
mynum2 = Num( Report( myrpt )["Multivariate", Framebox( 83 )] << Get Text );
show( mynum2 ); // Empty
// Try 3
mynum3 = Num( Report( myrpt )["Jackknife Distances", Framebox( 83 )] << Get Text ); // Send error
show( mynum3 );
report( myrpt ) << Close report;
Is there a guide on how to get data from different parts of the tree structure?
Learning every day!