<?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 How to obtain the Platform Script from a report window? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-obtain-the-Platform-Script-from-a-report-window/m-p/3862#M3862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 19:15:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-12T19:15:54Z</dc:date>
    <item>
      <title>How to obtain the Platform Script from a report window?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-obtain-the-Platform-Script-from-a-report-window/m-p/3860#M3860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to read in the platform script from an open graph/analysis window. Using "window_ref&lt;K&gt; = Window( i );" I can obtain a reference to that window, but I'm not sure how to obtain the platform object from this report window referece in order to get the platform script rather than the report window script.&amp;nbsp; Can anyone help with this?&lt;/K&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 20:02:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-obtain-the-Platform-Script-from-a-report-window/m-p/3860#M3860</guid>
      <dc:creator />
      <dc:date>2011-10-11T20:02:16Z</dc:date>
    </item>
    <item>
      <title>How to obtain the Platform Script from a report window?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-obtain-the-Platform-Script-from-a-report-window/m-p/3861#M3861</link>
      <description>&lt;P&gt;Use the Get Scriptable Object message on an outline box.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;open("$SAMPLE_DATA\Big Class.jmp");
Bivariate( Y( :weight ), X( :height ), Fit Line );
biv=Current Report()[outlinebox(1)]&amp;lt;&amp;lt;Get Scriptable Object; 
biv&amp;lt;&amp;lt;fit mean;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:08:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-obtain-the-Platform-Script-from-a-report-window/m-p/3861#M3861</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2017-09-13T14:08:59Z</dc:date>
    </item>
    <item>
      <title>How to obtain the Platform Script from a report window?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-obtain-the-Platform-Script-from-a-report-window/m-p/3862#M3862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 19:15:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-obtain-the-Platform-Script-from-a-report-window/m-p/3862#M3862</guid>
      <dc:creator />
      <dc:date>2011-10-12T19:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain the Platform Script from a report window?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-obtain-the-Platform-Script-from-a-report-window/m-p/44451#M25490</link>
      <description>&lt;P&gt;Thanks for this answer. I was trying to use Send To Report(Dispatch...) to update a manually generated platform. So it appears the Send To Report is a message to the platform, to then send to the report of the platform the Dispatch contents. I was looking for a "Current Platform" option similar to the "Current Report". So it seems that&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;myplatform = Current Platform() (that does not exist)&amp;nbsp;can be done by:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myplatform = Current Report()[outlinebox(1)]&amp;lt;&amp;lt;Get Scriptable Object;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now something like this works:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myplat = Current Report()[Outlinebox(1)] &amp;lt;&amp;lt; Get Scriptable Object;


myplat &amp;lt;&amp;lt; SendToReport( 
	Dispatch(
		{},
		"1",
		ScaleBox,
		{Add Ref Line( 60, "Solid", "Medium Dark Red", "Point of interest", 1 )}
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any chance in new versions of JMP of getting a "Current Platform" function that would be equivalent to this method using Get Scriptable Object?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:10:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-obtain-the-Platform-Script-from-a-report-window/m-p/44451#M25490</guid>
      <dc:creator>Vball247</dc:creator>
      <dc:date>2017-09-13T14:10:41Z</dc:date>
    </item>
  </channel>
</rss>

