<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Scripting for project layout in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56730#M31831</link>
    <description>&lt;P&gt;You can set a particular TabBox to have a certain current tab using the regular TabBox APIs. (The interactive JMP Scripting Index is a good resources to learn these). Here's one way of doing it with the exampe we've been workign with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Project = new project();
Move to Project( destination( Project ), windows( {table1, table2, table3} ));
Project &amp;lt;&amp;lt; Set Layout(
	H Splitter Box(
	&amp;lt;&amp;lt;Set Sizes( {0.85, 0.15} ),			
		V Splitter Box(
		&amp;lt;&amp;lt;Set Sizes( {0.3, 0.7} ),
			H Splitter Box(
			&amp;lt;&amp;lt;Set Sizes( {0.5, 0.5} ),
				Tab Page Box( Window ID( "graph1" ) ),
				Tab Page Box( Window ID( "graph2" ) )
			),
			tabletabs = Tab Box(
				Tab Page Box( Window ID( "Table1" ) ),
				Tab Page Box( Window ID( "Table2" ) ),
				Tab Page Box( Window ID( "Table3" ) )
			),			
		),
		Tab Page Box(
			Title( "Window List" ),
			Window ID( "Windows" )
		),
	),
);

tabletabs &amp;lt;&amp;lt; Set Selected(2);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;We just save the tab box in a variable when we create it, then use that variable later to set the tab we want to be current.&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2018 15:23:29 GMT</pubDate>
    <dc:creator>aaron_andersen</dc:creator>
    <dc:date>2018-05-09T15:23:29Z</dc:date>
    <item>
      <title>Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56267#M31585</link>
      <description>&lt;P&gt;I have a script that generates&amp;nbsp;5 windows, and want to use the script to organise the output into a project format, and arrange the layout.&lt;/P&gt;&lt;P&gt;I would like&amp;nbsp;the window list on the right. On the left, I&amp;nbsp;would like&amp;nbsp;two rows :&lt;/P&gt;&lt;P&gt;top row, I want two graphs side by side.&lt;/P&gt;&lt;P&gt;bottom row, I want three tables displayed in tabs.&lt;/P&gt;&lt;P&gt;I have come up with the below script, but it doesn't do what I want.&amp;nbsp;Currently all 5 get displayed in a single row on five different tabs, with the windows list on the right.&lt;/P&gt;&lt;P&gt;Can someone point me in the right direction?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	Project = new project();
	Move to Project( destination( Project ), windows( {"Table1" ,"Table2" , "Table3", "Graph1", "Graph2"} ));
	Project &amp;lt;&amp;lt; Set Layout(
	H Splitter Box(
		&amp;lt;&amp;lt;Set Sizes( {0.85, 0.15} ),			
		V Splitter Box(
			&amp;lt;&amp;lt;Set Sizes( {0.3, 0.7} ),
				H Splitter Box(
				&amp;lt;&amp;lt;Set Sizes( {0.5, 0.5} ),
			Tab Page Box( Window ID( "graph1" ) ),
			Tab Page Box( Window ID( "graph2" ) )
			),
			Tab Box(
			Tab Page Box( Window ID( "Table1" ) ),
			Tab Page Box( Window ID( "Table2" ) ),
			Tab Page Box( Window ID( "Table3" ) )
			),			

			),
			Tab Page Box(
				Title( "Window List" ),
				Window ID( "Windows" )
			),
		)  
	,
	),&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 May 2018 16:26:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56267#M31585</guid>
      <dc:creator>ckronig</dc:creator>
      <dc:date>2018-05-02T16:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56327#M31630</link>
      <description>&lt;P&gt;One of the best ways to write project layouts in JSL is to open the project, use the drag and drop interface to set the arrangement you want, and then save the layout using JSL. To do this, create a new JSL script (outside the project), then run&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Get Project("Untitled") &amp;lt;&amp;lt; Get Layout();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Get Project(1) &amp;lt;&amp;lt; Get Layout();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;using the title or index of the project you want to get the layout of. This will dump the referenced project's layout to the log, which you can then adapt to work with your project creation script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(You can do the same thing from inside a project, and can even use the [this project()] shortcut to run the command, but then the resulting layout will include the script window you opened to do it with, so it's often easier to do it from outside).&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 13:26:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56327#M31630</guid>
      <dc:creator>aaron_andersen</dc:creator>
      <dc:date>2018-05-03T13:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56333#M31631</link>
      <description>&lt;P&gt;Hi Aaron,&lt;BR /&gt;Thanks for this. I didn't know how to get the script layout so that's great!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I have done this, and the issue I have is that in the log, each of the tabs looks a bit like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Tab Page Box(
Title( "Table1" ),
Window ID( "e516a5e8-d5c2-954e-90a6-ba6b719dae98" )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I removed all the window ID bits, but&amp;nbsp;it still doesn't work, so I assume it needs the window ID bit. However, these window ID numbers seem like combinations of random letters and numbers which will be different every time the script runs, so I can't specify these in advance. Is there a way to find the window IDs of the windows that are open? I have looked for how to do this but can't see how to do it.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 19:37:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56333#M31631</guid>
      <dc:creator>ckronig</dc:creator>
      <dc:date>2018-05-03T19:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56375#M31656</link>
      <description>&lt;P&gt;You're right--those GUIDs would be different every time. I won't bore you with the details of why we didn't just have it use window titles, but there's good (albeit&amp;nbsp;complicated) reason for the IDs. The best thing to do when scripting a project manually like this is either to set window IDs&amp;nbsp;earlier in the script&amp;nbsp;using&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;mywindow &amp;lt;&amp;lt; Set Window ID("window1");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&amp;nbsp;use Get Window ID() directly in your layout:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Tab Page Box(
  Title( "Table1" ),
  Window ID( Get Window("Table1") &amp;lt;&amp;lt; Get Window ID())
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that the Title() there is only used to print a friendler message if the window with the given ID can't be foud, and to make things a bit more human readable. It doesn't do anything functionally, so you can go ahead and leave it out if that makes your life easier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 17:55:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56375#M31656</guid>
      <dc:creator>aaron_andersen</dc:creator>
      <dc:date>2018-05-03T17:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56410#M31688</link>
      <description>&lt;P&gt;Thanks for your help. Still having difficulties, sorry I am a beginner in JSL...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use the second option, I get an error message about scriptable objects :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Send Expects Scriptable Object in access or evaluation of 'Send' , Get Window( "Table1" ) &amp;lt;&amp;lt;&amp;nbsp; /*###*/&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Get Window ID() /*###*/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume I need to make these objects scriptable, but again not sure how to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried the first option which I thought would work. I managed to create new windows for each of the reports, and used the set window ID command to give them an ID, however it is still not working.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 08:44:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56410#M31688</guid>
      <dc:creator>ckronig</dc:creator>
      <dc:date>2018-05-04T08:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56499#M31741</link>
      <description>&lt;P&gt;My fault, I think. Get Window() needs to know where to look (since windows in the project can have the same titles as windows outside it). So instead of&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Get Window("Table1")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(whihc is looking for a window called "Table1" not in a project), we need to use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Get Window(Project(Project), "Table1")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where&amp;nbsp;the inside "Project" is&amp;nbsp;the name you picked for your project variable at the top of your script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Project = new project();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;All together, something like this should work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Tab Page Box(
  Window ID( Get Window(Project(project), "Table1") &amp;lt;&amp;lt; Get Window ID())
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And yes, this is definitely something we're hoping to make easier in a future JMP release. ;)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 12:47:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56499#M31741</guid>
      <dc:creator>aaron_andersen</dc:creator>
      <dc:date>2018-05-07T12:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56550#M31783</link>
      <description>&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;I tried what you suggested, however still no luck, same error message.&lt;/P&gt;&lt;P&gt;What I don't understand is : I created a new window, then used Set Window ID to give it an ID, but that ID doesn't seem to be recognised by Tab Box().&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 15:08:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56550#M31783</guid>
      <dc:creator>ckronig</dc:creator>
      <dc:date>2018-05-08T15:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56559#M31786</link>
      <description>&lt;P&gt;Sorry it's still not working.&amp;nbsp;Here is an example of the first method, using (mostly) your script and some sample data table:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;table1 = Open("$SAMPLE_DATA/Big Class.jmp");
table1 &amp;lt;&amp;lt; Set Window ID("Table1");

graph1 = table1 &amp;lt;&amp;lt; Run Script("Bivariate");
graph1 &amp;lt;&amp;lt; Set Window ID("graph1");

table2 = Open("$SAMPLE_DATA/Iris.jmp");
table2 &amp;lt;&amp;lt; Set Window ID("Table2");

graph2 = table2 &amp;lt;&amp;lt; Run Script("Graph Builder Contour Plot");
graph2 &amp;lt;&amp;lt; Set Window ID("graph2");

table3 = Open("$SAMPLE_DATA/Baseball.jmp");
table3 &amp;lt;&amp;lt; Set Window ID("Table3");


Project = new project();
Move to Project( destination( Project ), windows( {table1, table2, table3} ));
Project &amp;lt;&amp;lt; Set Layout(
	H Splitter Box(
	&amp;lt;&amp;lt;Set Sizes( {0.85, 0.15} ),			
		V Splitter Box(
		&amp;lt;&amp;lt;Set Sizes( {0.3, 0.7} ),
			H Splitter Box(
			&amp;lt;&amp;lt;Set Sizes( {0.5, 0.5} ),
				Tab Page Box( Window ID( "graph1" ) ),
				Tab Page Box( Window ID( "graph2" ) )
			),
			Tab Box(
				Tab Page Box( Window ID( "Table1" ) ),
				Tab Page Box( Window ID( "Table2" ) ),
				Tab Page Box( Window ID( "Table3" ) )
			),			
		),
		Tab Page Box(
			Title( "Window List" ),
			Window ID( "Windows" )
		),
	),
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;here is one way to do it whout setting the IDs:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;table1 = Open("$SAMPLE_DATA/Big Class.jmp");
graph1 = table1 &amp;lt;&amp;lt; Run Script("Bivariate");

table2 = Open("$SAMPLE_DATA/Iris.jmp");
graph2 = table2 &amp;lt;&amp;lt; Run Script("Graph Builder Contour Plot");

table3 = Open("$SAMPLE_DATA/Baseball.jmp");


Project = new project();
Move to Project( destination( Project ), windows( {table1, table2, table3} ));
Project &amp;lt;&amp;lt; Set Layout(
	H Splitter Box(
	&amp;lt;&amp;lt;Set Sizes( {0.85, 0.15} ),			
		V Splitter Box(
		&amp;lt;&amp;lt;Set Sizes( {0.3, 0.7} ),
			H Splitter Box(
			&amp;lt;&amp;lt;Set Sizes( {0.5, 0.5} ),
				Tab Page Box( Window ID( graph1 &amp;lt;&amp;lt; Get Window ID() ) ),
				Tab Page Box( Window ID( graph2 &amp;lt;&amp;lt; Get Window ID() ) )
			),
			Tab Box(
				Tab Page Box( Window ID( table1 &amp;lt;&amp;lt; Get Window ID() ) ),
				Tab Page Box( Window ID( table2 &amp;lt;&amp;lt; Get Window ID() ) ),
				Tab Page Box( Window ID( table3 &amp;lt;&amp;lt; Get Window ID() ) )
			),			
		),
		Tab Page Box(
			Title( "Window List" ),
			Window ID( "Windows" )
		),
	),
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lastly, here's a version that avoids the Move to Project() by opening the windows in the project from the start:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Project = new project();

Project &amp;lt;&amp;lt; Run Script(
	table1 = Open("$SAMPLE_DATA/Big Class.jmp");
	table1 &amp;lt;&amp;lt; Set Window ID("Table1");

	graph1 = table1 &amp;lt;&amp;lt; Run Script("Bivariate");
	graph1 &amp;lt;&amp;lt; Set Window ID("graph1");

	table2 = Open("$SAMPLE_DATA/Iris.jmp");
	table2 &amp;lt;&amp;lt; Set Window ID("Table2");

	graph2 = table2 &amp;lt;&amp;lt; Run Script("Graph Builder Contour Plot");
	graph2 &amp;lt;&amp;lt; Set Window ID("graph2");

	table3 = Open("$SAMPLE_DATA/Baseball.jmp");
	table3 &amp;lt;&amp;lt; Set Window ID("Table3");
);

Project &amp;lt;&amp;lt; Set Layout(
	H Splitter Box(
	&amp;lt;&amp;lt;Set Sizes( {0.85, 0.15} ),			
		V Splitter Box(
		&amp;lt;&amp;lt;Set Sizes( {0.3, 0.7} ),
			H Splitter Box(
			&amp;lt;&amp;lt;Set Sizes( {0.5, 0.5} ),
				Tab Page Box( Window ID( "graph1" ) ),
				Tab Page Box( Window ID( "graph2" ) )
			),
			Tab Box(
				Tab Page Box( Window ID( "Table1" ) ),
				Tab Page Box( Window ID( "Table2" ) ),
				Tab Page Box( Window ID( "Table3" ) )
			),			
		),
		Tab Page Box(
			Title( "Window List" ),
			Window ID( "Windows" )
		),
	),
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully one of those can be modified to work with your script.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 15:33:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56559#M31786</guid>
      <dc:creator>aaron_andersen</dc:creator>
      <dc:date>2018-05-08T15:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56728#M31829</link>
      <description>&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;Finally got it to work, thank you so much!&lt;/P&gt;&lt;P&gt;I was trying to set the window ID when creating the tables and graph, and I think that was not working. So it's doing the layout correctly now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just another related question : how do I get it to display a specific tab? Is there a way they can be ordered? It's always displaying the same&amp;nbsp;Table by default but that's not the one I want displayed.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:08:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56728#M31829</guid>
      <dc:creator>ckronig</dc:creator>
      <dc:date>2018-05-09T15:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56730#M31831</link>
      <description>&lt;P&gt;You can set a particular TabBox to have a certain current tab using the regular TabBox APIs. (The interactive JMP Scripting Index is a good resources to learn these). Here's one way of doing it with the exampe we've been workign with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Project = new project();
Move to Project( destination( Project ), windows( {table1, table2, table3} ));
Project &amp;lt;&amp;lt; Set Layout(
	H Splitter Box(
	&amp;lt;&amp;lt;Set Sizes( {0.85, 0.15} ),			
		V Splitter Box(
		&amp;lt;&amp;lt;Set Sizes( {0.3, 0.7} ),
			H Splitter Box(
			&amp;lt;&amp;lt;Set Sizes( {0.5, 0.5} ),
				Tab Page Box( Window ID( "graph1" ) ),
				Tab Page Box( Window ID( "graph2" ) )
			),
			tabletabs = Tab Box(
				Tab Page Box( Window ID( "Table1" ) ),
				Tab Page Box( Window ID( "Table2" ) ),
				Tab Page Box( Window ID( "Table3" ) )
			),			
		),
		Tab Page Box(
			Title( "Window List" ),
			Window ID( "Windows" )
		),
	),
);

tabletabs &amp;lt;&amp;lt; Set Selected(2);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;We just save the tab box in a variable when we create it, then use that variable later to set the tab we want to be current.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:23:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/56730#M31831</guid>
      <dc:creator>aaron_andersen</dc:creator>
      <dc:date>2018-05-09T15:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/382620#M63329</link>
      <description>&lt;P&gt;JMP 16 makes an improvement for the project platform by incorporating the files into the project file for saving and transferring. This is a nice improvement. My JMP 15 script to move files from a report into a project file still works in 16 but I would like to update to use the new features of JMP16. I am not sure what the new script structure would look like for this case. Any suggestions? Attached is what my script looks like now (not run able since all files based on my PC and data wrangling done by earlier part of script.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 23:00:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/382620#M63329</guid>
      <dc:creator>chris_dennis</dc:creator>
      <dc:date>2021-05-05T23:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/382754#M63343</link>
      <description>&lt;P&gt;The project layout code should be (more or less) the same as before. The difference in JMP 16 is, when you go to save your content you can save it inside the project file if you choose. You do this automatically from a script, if you want, though I'd need to know a bit more about your project to recommend a specific method.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 11:38:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/382754#M63343</guid>
      <dc:creator>aaron_andersen</dc:creator>
      <dc:date>2021-05-06T11:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/383063#M63370</link>
      <description>&lt;P&gt;The main body of the script generates 3 data files and links them together.&amp;nbsp; The way it is written now files are saved to C drive Temp folder and then moved into project.&amp;nbsp; I would like to add a contents section and add these three files into it with the script.&amp;nbsp; I think then I would update the analysis that is done to open the files in the project and make process capability graphs.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 20:54:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/383063#M63370</guid>
      <dc:creator>chris_dennis</dc:creator>
      <dc:date>2021-05-06T20:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for project layout</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/383674#M63423</link>
      <description>&lt;P&gt;Simplest possible example of creating a project, creating a data table, and saving that table to the project contents:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;new Project(
	Run Script(
		dt = New Table( "My Table",
			Add Rows( 3 ),
			New Column( "Column 1",
				Set Values( [1, 2, 3] )
			)
		);
		
		dt &amp;lt;&amp;lt; Save As("$PROJECT/my table.jmp");
	);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The path variable $PROJECT maps to the Project Contents of the current project (and as such is only usable inside a project). It would be perfectly fine to create the tables outside the project and then move them in, though if that isn't necessary for some external reason it's generally more efficient to create everything directly in the project the first time.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 14:02:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-for-project-layout/m-p/383674#M63423</guid>
      <dc:creator>aaron_andersen</dc:creator>
      <dc:date>2021-05-10T14:02:32Z</dc:date>
    </item>
  </channel>
</rss>

