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;
![StarfruitBob_0-1674582561249.png StarfruitBob_0-1674582561249.png](https://community.jmp.com/t5/image/serverpage/image-id/49405iE58D801440D15AD9/image-size/medium?v=v2&px=400)
![StarfruitBob_1-1674582590809.png StarfruitBob_1-1674582590809.png](https://community.jmp.com/t5/image/serverpage/image-id/49406i6A57E1F1D6275A46/image-size/medium?v=v2&px=400)
Is there a guide on how to get data from different parts of the tree structure?
Learning every day!