Scripting Guide > Creating Projects > Create a Bookmark Group
发布日期: 09/18/2023

Create a Bookmark Group

You can create bookmark groups to organize the bookmarks in a JMP project. A bookmark group can contain bookmarked files, folder, and additional bookmark groups. The bookmark group exists only in the project, not on your computer. Use Group() to create the bookmark group.

project = New Project();
project << Add Bookmarks(
			Group(
				"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" );

Figure 15.3 “Sample Data” Group in a Project 

“Sample Data” Group in a Project

需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).