project = New Project();
project << Add Bookmarks({
File( "$SAMPLE_DATA/Big Class.jmp" )
Run Script opens the data table and creates output inside the project.
project << Run Script(
Set Window ID( "distrib" ),
Set Window ID( "graphbuilder" ),
Show Control Panel( 0 ),
Fit to Window( "Maintain Aspect Ratio" ),
Set Layout specifies the layout of the tabs that show the data table and output.
project << Set Layout(
Window ID( "Bookmarks" )
Window ID( "Windows" )
Window ID( "data" )
Window ID( "distrib" )
Window ID( "graphbuilder" )
Window ID( "Log" ) )
Save saves the project.
图 15.2 Example of a Complex Project