<?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: Easier way to exit jmp with multiple tables each having multiple graphs/analyses? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47320#M26986</link>
    <description>&lt;P&gt;I did not mean JMP Projects, sorry for the confusion.&amp;nbsp;&amp;nbsp;I have never really&amp;nbsp;explored&amp;nbsp;that functionality and can't be of much help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was more referring to a work task in general. Like when I'm&amp;nbsp;in the middle of an analysis with the workspace cluttered with hundreds of "promising" reports, and suddenly I&amp;nbsp;must shift focus to work in JMP with something of higher priotity. Then the Session Script comes in handy, allowing me to postpone difficult decisions&amp;nbsp;about what analyses to save and which to discard. Save the script with an adequate name, close everything and turn&amp;nbsp;to&amp;nbsp;the more urgent task with a clean workspace.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Later, I can return to the earlier state (of mind and workspace) by just opening and running the session script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2017 15:27:38 GMT</pubDate>
    <dc:creator>ms</dc:creator>
    <dc:date>2017-11-16T15:27:38Z</dc:date>
    <item>
      <title>Easier way to exit jmp with multiple tables each having multiple graphs/analyses?</title>
      <link>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47289#M26963</link>
      <description>&lt;P&gt;My typical workday involves the creation of multiple tables each of which may have multiple graphs/analyses.&lt;/P&gt;&lt;P&gt;Is there away, for a given table, to automatically save all of its open graphs/analyses as scripts in the table itself (and then, optionally, close all of the graphs).&lt;/P&gt;&lt;P&gt;Having some patience issues in exiting the JMP program and having to save all the tables without losing the analyses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:01:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47289#M26963</guid>
      <dc:creator>galactus3000</dc:creator>
      <dc:date>2023-06-11T11:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Easier way to exit jmp with multiple tables each having multiple graphs/analyses?</title>
      <link>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47310#M26978</link>
      <description>&lt;P&gt;Here's a start: It covers many cases, and could be made smarter. You could put it on a menu item or buton for convenience:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
// Open a table to play with
dt = Open("$SAMPLE_DATA\Big Class.jmp");
// Open some windows in the session from this table (this would be done interactively)
ss = dt &amp;lt;&amp;lt; Get Table Script Names;
for (s=1, s&amp;lt;=NItems(ss), s++, dt &amp;lt;&amp;lt; runScript(ss[s]));
// Delete the saved scripts from the table
for (s=1, s&amp;lt;=NItems(ss), s++, dt &amp;lt;&amp;lt; deleteTableProperty(ss[s]));
Wait(3);

// Start here . . .

// See the names of all the tables that are currently open in ths session
openTables = {};
for(t=1, t&amp;lt;=NTable(), t++, InsertInto(openTables, DataTable(t) &amp;lt;&amp;lt; getName));

// See which windows are currently open in the session
openWindows = {};
for(w=1, w&amp;lt;=NItems(Window()), w++, InsertInto(openWindows, Window(w) &amp;lt;&amp;lt; getWindowTitle));

// Handle each open table in turn
for(t=1, t&amp;lt;=NItems(openTables), t++,
	// Truncate the table name if required
	if(EndsWith(Uppercase(openTables[t]), ".JMP"), openTables[t] = Substr(openTables[t], 1, Length(openTables[t])-4));
	for(w=1, w&amp;lt;=NItems(openWindows), w++, 
		If(StartsWith(openWindows[w], openTables[t]),
			// This windows belongs to this table, so get the scriptable object
			so = Window(openWindows[w])[OutlineBox(1)] &amp;lt;&amp;lt; getScriptableObject;
			// Save the script to the parent data table
			so &amp;lt;&amp;lt; saveScriptToDataTable;
			// Close the window
			Window(openWindows[w]) &amp;lt;&amp;lt; closeWindow;
			);
		)
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Nov 2017 11:02:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47310#M26978</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2017-11-16T11:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Easier way to exit jmp with multiple tables each having multiple graphs/analyses?</title>
      <link>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47311#M26979</link>
      <description>&lt;P&gt;I use the "Save Sessions Script..." (File menu) as a way to quickly clear the session from hundreds of reports; for example if I need to reboot or temporarily work on&amp;nbsp;a&amp;nbsp;different project. I can later take off exactly where I left by running the script. All (saved) tables and reports are automatically opened and recreated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 13:46:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47311#M26979</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2017-11-16T13:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Easier way to exit jmp with multiple tables each having multiple graphs/analyses?</title>
      <link>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47316#M26982</link>
      <description>&lt;P&gt;Thank you. How would I go about making this a menu item?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 14:47:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47316#M26982</guid>
      <dc:creator>galactus3000</dc:creator>
      <dc:date>2017-11-16T14:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Easier way to exit jmp with multiple tables each having multiple graphs/analyses?</title>
      <link>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47317#M26983</link>
      <description>&lt;P&gt;Thank you ... I tried to use Projects, dragging tables and reports into a newly created project. Upon closing JMP and double-clickin on the project file saved in a Windows folder, the projects dialog comes up and requires me to choose a project to open (which I thought I already did by double-clicking on it in my Windows folder).&lt;/P&gt;&lt;P&gt;Did I do something wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 14:55:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47317#M26983</guid>
      <dc:creator>galactus3000</dc:creator>
      <dc:date>2017-11-16T14:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Easier way to exit jmp with multiple tables each having multiple graphs/analyses?</title>
      <link>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47320#M26986</link>
      <description>&lt;P&gt;I did not mean JMP Projects, sorry for the confusion.&amp;nbsp;&amp;nbsp;I have never really&amp;nbsp;explored&amp;nbsp;that functionality and can't be of much help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was more referring to a work task in general. Like when I'm&amp;nbsp;in the middle of an analysis with the workspace cluttered with hundreds of "promising" reports, and suddenly I&amp;nbsp;must shift focus to work in JMP with something of higher priotity. Then the Session Script comes in handy, allowing me to postpone difficult decisions&amp;nbsp;about what analyses to save and which to discard. Save the script with an adequate name, close everything and turn&amp;nbsp;to&amp;nbsp;the more urgent task with a clean workspace.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Later, I can return to the earlier state (of mind and workspace) by just opening and running the session script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 15:27:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47320#M26986</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2017-11-16T15:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Easier way to exit jmp with multiple tables each having multiple graphs/analyses?</title>
      <link>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47349#M27009</link>
      <description>&lt;P&gt;&lt;A href="http://www.jmp.com/support/help/13-2/Personalize_Toolbars_and_Menus_on_Windows.shtml#" target="_self"&gt;This part&lt;/A&gt; of the JMP 13 documentation&amp;nbsp;explains how to add a menu item. If you are happy that the code above does what you want, just take the first line, and everything from 'Start here' onwards.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 09:24:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Easier-way-to-exit-jmp-with-multiple-tables-each-having-multiple/m-p/47349#M27009</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2017-11-17T09:24:25Z</dc:date>
    </item>
  </channel>
</rss>

