该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


project = New Project();
project << Add Bookmarks(
"Sample Data",
Expanded( 1 ), // open the group
{File( "$SAMPLE_DATA/Air Traffic.jmp" ),
File( "$SAMPLE_DATA/Big Class.jmp" )}
project << Set Layout(
H Splitter Box(
<<Set Sizes( {0.15, 0.85} ),
Tab Page Box( Window ID( "Bookmarks" ), )
project << Save( "$DOCUMENTS/My Project.jmpprj" );
图 15.3 “Sample Data” Group in a Project