<?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: JSL: How to add the red hot-button options to an Outline Box? Or can you? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696387#M88155</link>
    <description>&lt;P&gt;Saving the script which creates that customized window will be generally very difficult as you would have to basically include whole add-in in that script, with the user choices applied (and then it would be the same as user basically re-running the add-in). I have had at least few different solutions for something like this (I don't try to save the whole window as my add-ins are usually too complicated for that):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Save some sort of settings variable to the data table that user can then load in your add-in to "refill" it&lt;/LI&gt;
&lt;LI&gt;Don't save the whole script but rather some sort of "dashboard" type of solution with not that many features&lt;/LI&gt;
&lt;LI&gt;Save just some simpler parts as table script(s)&lt;/LI&gt;
&lt;LI&gt;And maybe few more that I don't remember for now...&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Thu, 09 Nov 2023 20:11:25 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-11-09T20:11:25Z</dc:date>
    <item>
      <title>JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696169#M88136</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm interested in learning how (if possible) to add the red hot-button menu to your own defined Outline Box. For example, with the Graph Builder platform, there's a red-hot button that allows for things like "Save Script to Data Table" and other options.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_0-1699544973143.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58500i49B45D2F4C7FB48B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_0-1699544973143.png" alt="SDF1_0-1699544973143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have other scripts I wrote where I'd like to have this option. The Outline Box comes with the small grey triangle for some options, but it doesn't offer the red hot-button options. For example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_1-1699545097307.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58501i96B1033BEE43ACB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_1-1699545097307.png" alt="SDF1_1-1699545097307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I've searched the Scripting Index and the Scripting Guide, and can't find any documentation on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Does anyone know if it's possible? And if so, how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 15:54:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696169#M88136</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-11-09T15:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696201#M88140</link>
      <description>&lt;P&gt;Are you possibly looking for &amp;lt;&amp;lt; Set Menu Script? Example from scripting index&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
New Window("Example",
	fontobj = ob = Outline Box("Outline Box",
		V List Box(
			ob2 = Outline Box("Outline Box 2",
				H List Box(
					Text Edit Box("Top Left"),
					Text Edit Box("Top Right")
				)
			),
			ob3 = Outline Box("Outline Box 3",
				H List Box(
					Text Edit Box("Bottom Left"),
					Text Edit Box("Bottom Right")
				)
			)
		)
	)
);
ob &amp;lt;&amp;lt; Set Menu Script(
	{"A", Print("A"), "B", Print("B"), "B1", Print("B1"), "B2",
	Print("B2"), "B3", Print("B3"), "C", Print("C")}
);
ob &amp;lt;&amp;lt; Set Submenu(2, 3);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1699546161002.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58506iB91D9D797384EA1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1699546161002.png" alt="jthi_0-1699546161002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is also something regarding this in JMP Help, but it is very very difficult to find due to the horrible search JMP help page has (&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/construct-display-boxes-for-new-windows.shtml#ww883930" target="_blank"&gt;https://www.jmp.com/support/help/en/17.2/#page/jmp/construct-display-boxes-for-new-windows.shtml#ww883930&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1699546377931.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58507iF702B4E7ED3AFA6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1699546377931.png" alt="jthi_1-1699546377931.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 16:13:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696201#M88140</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-09T16:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696202#M88141</link>
      <description>&lt;P&gt;Tutorial video:&amp;nbsp;&lt;BR /&gt;&lt;FONT size="5"&gt;&lt;A href="https://community.jmp.com/t5/Introduction-to-the-JMP/Introduction-to-the-JMP-Scripting-Language-Course/ta-p/539562" target="_self"&gt;Introduction to the JMP Scripting Language chapter&amp;nbsp;5.3&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;A href="https://community.jmp.com/t5/Introduction-to-the-JMP/Creating-a-Custom-Report/ta-p/566828&amp;nbsp;" target="_self"&gt;@ 10:30min&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 16:28:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696202#M88141</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-09T16:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696371#M88151</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for the information on where to start this process, it is very helpful. And, it's really only partly a solution right now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I've been able to add a the menu script -- right now, I'm only adding two things: a local data filter and the save script (3 options): to data table, to scripting window and to Journal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Right now, I have the local data filter and save script to Journal working just fine. What I'm having a harder time with is getting the save script to data table and save script to scripting window functionalities working. Below is the section of code where it activates the menu script and then assigns the action for each menu item selected.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;mob &amp;lt;&amp;lt; Set Menu Script(
		{"Local Data Filter", ts &amp;lt;&amp;lt; Local Data Filter ; gb &amp;lt;&amp;lt; Local Data Filter, "Save Script", "", "To Data Table", nwin &amp;lt;&amp;lt;
		Save Script to Data Table( "Correlation Analysis of " || ycols[1] || " vs. " || xcols[1], &amp;lt;&amp;lt;Promtp( 1 ), &amp;lt;&amp;lt;Replace( 0 ) ), "To Script Window",
		nwin &amp;lt;&amp;lt; Save Script to Script Window, "To Journal", mob&amp;lt;&amp;lt;Journal}
	);
	
	mob &amp;lt;&amp;lt; Set Submenu( 2, 3 );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; My customized report window looks something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_0-1699557513934.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58520iD3F9FA2AC78E3B94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_0-1699557513934.png" alt="SDF1_0-1699557513934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'd like to have the option that the user could select the save script to data table (or scripting window) and it basically saves the script that is used to generate this customized report so that this analysis can be saved to the data table and someone can click the green script arrow next to the script and re-run the analysis without having to re-run the whole add-in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; From reading the about this in the scripting index, it appears that only objects like platform reports (e.g. Graph Builder or Time Series) can individually be saved to the data table, but the entire Outline Box object, which is my report window, doesn't accept that kind of send (&amp;lt;&amp;lt;) command. I'd prefer not to save each platform object individually, but rather the entire scripting code after I've used it to do the analysis to the data table/script window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm not sure exactly why, but perhaps it's because my code is structure differently, because I'm using several Expr statements. As a rough idea, my code is structured as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

//any variable definitions
var1 = .;
var2 = .;//etc

//Expression to recall roles
RecallRoles = Expr(
//inside is the code to recall roles
);

//Expression to clear roles
ClearRoles = Expr(
//similar code to clear roles
);

//User interface window
ValueDlg = Expr(
	nwin = New Window( 
		// opens a new window with the main outline box and subpanels 
		//and action buttons
		mob = Outline Box( 
			//this is the main outline box that contains the subpanels and 
			//time series and graph builder platforms
			//it also contains the action buttons that perform certain tasks
		)
	);
	mob &amp;lt;&amp;lt; Set Menu Script(
		//this is where I'm trying to save the evaluated script to the data
		//table so a usercan just cick it, and the script will execute with
		//the variables already evaluated and not have to cast columns into
		//roles, etc.
	);
);

ValueDlg;//this calls the ValueDlg Expr and evaluates it.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If either of you have any ideas or thoughts on how I could do this (which I hope my explanation makes sense), I appreciate any feedback on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 19:48:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696371#M88151</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-11-09T19:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696380#M88153</link>
      <description>&lt;P&gt;To add Data Filter and Save Script of the Report to Data Table - if you work on a &lt;STRONG&gt;Windows PC&lt;/STRONG&gt;, your could consider using the Report Toolbar:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1699559609268.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58522i138A4F054CF44034/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1699559609268.png" alt="hogi_0-1699559609268.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;argh ...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1699559891878.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58523i442F5150CE556352/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1699559891878.png" alt="hogi_0-1699559891878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 19:58:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696380#M88153</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-09T19:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696386#M88154</link>
      <description>&lt;P&gt;Asking the Outline Box for the script just returns something like the Display Tree.&lt;BR /&gt;So, this also doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you generate the Report, you have the whole Expression to generate the report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, when the user clicks on save script, you could just use this expression and save it as a script.&lt;/P&gt;&lt;P&gt;[then changes which the user made afterwards will not be saved]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 437, 413 ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
);

New Window( "test",
	ob = Outline Box( "test",
		V List Box( Text Box( "hello" ), gb = dt &amp;lt;&amp;lt; Graph Builder( Variables( X( :height ), Y( :weight ), Overlay( :sex ) ) ) )
	)
);


ob &amp;lt;&amp;lt; get script(); // Display Tree
ob &amp;lt;&amp;lt; get scriptable Object (); // Empty &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Nov 2023 20:06:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696386#M88154</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-09T20:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696387#M88155</link>
      <description>&lt;P&gt;Saving the script which creates that customized window will be generally very difficult as you would have to basically include whole add-in in that script, with the user choices applied (and then it would be the same as user basically re-running the add-in). I have had at least few different solutions for something like this (I don't try to save the whole window as my add-ins are usually too complicated for that):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Save some sort of settings variable to the data table that user can then load in your add-in to "refill" it&lt;/LI&gt;
&lt;LI&gt;Don't save the whole script but rather some sort of "dashboard" type of solution with not that many features&lt;/LI&gt;
&lt;LI&gt;Save just some simpler parts as table script(s)&lt;/LI&gt;
&lt;LI&gt;And maybe few more that I don't remember for now...&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 09 Nov 2023 20:11:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696387#M88155</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-09T20:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696389#M88156</link>
      <description>&lt;P&gt;I think the best idea is to generate the Report NOT manually - but via &lt;STRONG&gt;Dashboard Builder&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;In the generated Dashboard, there is a red-triangle menu with an option to save the (Dashboard) Script&lt;/P&gt;&lt;P&gt;...&amp;nbsp; and since Jmp17 there is even an option to save a simplified version which looks like a manually generated script:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1699560891710.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58524iE6CF67EC4B31CF1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1699560891710.png" alt="hogi_0-1699560891710.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 08:56:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696389#M88156</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-06-01T08:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696391#M88158</link>
      <description>&lt;P&gt;Adding to the suggestions from&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;,&amp;nbsp;you could create a function that you call in your add-in and then your Save Script is just the function call. It'll take some management to make sure the function is well-designed and handles the options you need but if you're building a dialog box to launch your add-in then you've probably already defined many of the arguments.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 20:22:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696391#M88158</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2023-11-09T20:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696393#M88159</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;, and&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6878"&gt;@Jeff_Perkinson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I appreciate the feedback, thoughts, and discussion. Well, it seems like it might be trickier than I thought. That's not to say it's not doable, but it's not going to be as "simple" as adding the menu script to the outline box. I might have to stew and chew on some of the ideas here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;, I did try the Save Script to Window as well as the Save Script for All Objects to Data Table, but neither of those worked as I had intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If I do find the solution I'm after, I'll be sure to update this post with how I solved it in case others come across this and are interested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks everyone!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 20:32:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696393#M88159</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-11-09T20:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696409#M88161</link>
      <description>&lt;P&gt;Application/Dashboard Builder is amazingly useful - it's worth to try it :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-MESSAGE title="Building Dashboards and Applications With JMP® (US 2018 408)" uid="79948" url="https://community.jmp.com/t5/Discovery-Summit-2018/Building-Dashboards-and-Applications-With-JMP-US-2018-408/m-p/79948#U79948" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Youtube video (Jmp 10)&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=XyiQqUELc2A" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=XyiQqUELc2A&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is a longer video with a lot of details:&lt;BR /&gt;&lt;LI-MESSAGE title="Why Aren't You Using App Builder Already? - (2023-US-30MP-1401)" uid="651643" url="https://community.jmp.com/t5/Discovery-Summit-Americas-2023/Why-Aren-t-You-Using-App-Builder-Already-2023-US-30MP-1401/m-p/651643#U651643" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;short version:&lt;/P&gt;&lt;P&gt;&lt;LI-MESSAGE title="Create a Parameterized Application with Application Builder" uid="673000" url="https://community.jmp.com/t5/JSL-Cookbook/Create-a-Parameterized-Application-with-Application-Builder/m-p/673000#U673000" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 21:40:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696409#M88161</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-09T21:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696476#M88167</link>
      <description>&lt;P&gt;It is basically something you should design for from the beginning to make it "easily" doable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is one example I have, the add-in is fairly simple in that sense, that it only contains graph builders (and partition/bootstrap forest).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1699595046968.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58531iCCF104D15C7A1A4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1699595046968.png" alt="jthi_0-1699595046968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But trying to save the script that builds that would be a nightmare. There are many hidden things that couldn't be captured by JMP's Get Script or save script to data table (or any of the methods) and the add-in is divided into 10+ different .jsl files. Even if I was able to save the UI to the datatable, it wouldn't work when user re-runs the script due to my tight management of namespaces (UI wouldn't have access to all of the different functions for example).&amp;nbsp;So in this case I only provide user an option to save the column selections and the order (they can save multiple).&amp;nbsp;They can then load different inputs when they have the same table open and re-run the addin.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1699595287874.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58532i7A4429A052981990/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1699595287874.png" alt="jthi_1-1699595287874.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I could most likely refactor this add-in to work in such a way, that I could save (most of it) to table script or script window, but I would have to rewrite it from the start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other add-in (I cannot show pictures of that) I have which queries data based on user inputs, performs some calculations and then displays the results with few graph builders and some extra column switchers/data filters, does save that "platform" /UI/visualization immediately to the data table after the query and calculations have finished. Then I run that table script to show the results to the user. This is fairly simple add-in so I could fairly easily do this with some expressions (initial version I had didn't save the visualization, but it was a request from the users so I did implement it).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And third one which I'm currently working on (again cannot show it), does similar thing. It gets data based on user inputs, performs calculations on it, shows the analysis results and visualizes them. Again, I cannot save the whole UI to datatable due to it being too big of a hassle with all the options I provide users with BUT I will add a button which is basically "pop-out dashboard" which will then only create dashboard of only some parts of the UI and within this "popout dashboard" I can add few extra functionalities as I will &lt;STRONG&gt;design for it from the start&lt;/STRONG&gt;. And this popout dashboard can be then saved (hopefully) to data table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: I also fairly rarely add recall buttons to my scripts as it can also be hassle and take a long time to get working properly. I know there is one script which can help with this, but it cannot perform the task (always) good enough for me to use. If users start requesting recall buttons to most of the tools I have written, I might consider writing script for that which hopefully would work in most of the cases.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 06:15:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696476#M88167</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-10T06:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How to add the red hot-button options to an Outline Box? Or can you?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696485#M88170</link>
      <description>&lt;P&gt;With a GUI that is generated via Application Builder, all this is super easy - you can work on the GUI, optimize it and save the latest version of the full functionality as a new Table Script. Noticing an implicit "better don't use application builder to do this" - is there a functionality which is not possible via Application Builder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One drawback I noticed:&lt;/P&gt;&lt;P&gt;For dashboards that go beyond a simple collection of platform objects, some JSL code has to be added to automate the GUI.&lt;/P&gt;&lt;P&gt;Debugging this JSL code feels much more complicated than in a JSL editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I just don't know how to do it right.&lt;BR /&gt;Are there any suggestions from Application Builder users on how to debug part of the code, e.g. start the application from Application Builder and in parallel run snippets of the code in JSL editor to check what they do? Is there a framework how to get access to the namespace of the application so that I can use snippets of the code in JSL editor without any changes?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 07:34:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-to-add-the-red-hot-button-options-to-an-Outline-Box-Or/m-p/696485#M88170</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-10T07:34:34Z</dc:date>
    </item>
  </channel>
</rss>

