Hello
I have written the script and everything runs ok, but:1) I don't know how to do the last point to a choice Lock Journal by script?
2) I have 2 tables, how I can put the 2 tables in front of each other?
Here is an example of how to lock an outline box
Names Default To Here( 1 ); dt = Open( "$SAMPLE_DATA/big class.jmp" ); jr = New Window( "my jr", <<journal, ob = Outline Box( "box" ) ); ob << append( dt << new data box ); ob << lock( 1 );
Thank you very much
and I have the last question
when I use
obj_1<< Journal( );
obj_2 << Journal( );
it means 2 tables were added in a vertical position in Journal.
So if I would like to insert them into Journal in a horizontal position, how can I do it by script?
There is a complete set of functions that can be used to structure the layout of objects within a JMP journal. Below is a simple expansion of the example I previously provided, that places display objects side by side.
Names Default To Here( 1 ); dt = Open( "$SAMPLE_DATA/big class.jmp" ); dt2 = Open( "$SAMPLE_DATA/blood pressure.jmp" ); jr = New Window( "my jr", <<journal, hlb = h list box()); ob = Outline Box( "box" ) ; ob << append( dt << new data box ); ob << lock( 1 ); hlb << append(ob); ob = Outline Box( "box2" ) ; ob << append( dt << new data box ); ob << lock( 1 ); hlb << append(ob);
I suggest that you take the time to read the Scripting Guide, available in the JMP Documentation Library, under the Help pull down menu.