cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

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

Design of journal

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?

Dennisbur_0-1691416179975.png

 

3 REPLIES 3
txnelson
Super User

Re: Design of journal

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 );
Jim
Dennisbur
Level IV

Re: Design of journal

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?

 

Dennisbur_0-1691487905807.png

 

txnelson
Super User

Re: Design of journal

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.

txnelson_0-1691492955671.png

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.

 

Jim

Recommended Articles