<?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: Extracting the JSL code of a journal in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13822#M12992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe you don't want a journal at all.&amp;nbsp; You can also build complicated displays in a new window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the scripting index, this display only has one item:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;BR /&gt;&lt;P&gt;g = Graph Box(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Frame Size( 300, 300 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Marker( Marker State( 3 ), [11 44 77], [75 25 50] );&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Pen Color( "Blue" );&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;New Window( "My Window's Title", g );&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 17:07:00 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2015-08-12T17:07:00Z</dc:date>
    <item>
      <title>Extracting JSL code from a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13820#M12990</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know how to ‘extract’ the JSL code of a given journal? It would be very useful to learn how to write JSL codes that generate reports/journals.&lt;/P&gt;
&lt;P&gt;For example suppose you create a journal by adding text, file reference etc.. You want to save the script that would generate that journal. Is that possible?&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Marcello.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 18:26:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13820#M12990</guid>
      <dc:creator>MFVIT</dc:creator>
      <dc:date>2017-09-18T18:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting the JSL code of a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13821#M12991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you want something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;BR /&gt;&lt;P&gt;x = Current Journal(); // makes a new journal if none open&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;x &amp;lt;&amp;lt; append( // add to the end of the journal&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Outline Box( "example", &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; V List Box( // the outline holds a vertical list of two items...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text Box( "hello" ), &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Button Box( "there", Print( "run some JSL" ) ) &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;) ) );&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMP has both .JSL and .JRN files and the contents of them looks similar, but only the .JSL files really have executable script language.&amp;nbsp; The .JRN files have a description of what the JMP output looked like when the journal was created by journalling a platform's output.&amp;nbsp; Except, as you've noticed, journals sometimes have buttons that have scripts that run when the button is pressed.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 17:01:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13821#M12991</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2015-08-12T17:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting the JSL code of a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13822#M12992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe you don't want a journal at all.&amp;nbsp; You can also build complicated displays in a new window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the scripting index, this display only has one item:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;BR /&gt;&lt;P&gt;g = Graph Box(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Frame Size( 300, 300 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Marker( Marker State( 3 ), [11 44 77], [75 25 50] );&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Pen Color( "Blue" );&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;New Window( "My Window's Title", g );&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 17:07:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13822#M12992</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2015-08-12T17:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting the JSL code of a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13823#M12993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for you quick response. Suppose I have the journal corresponding to the jsl reported below and I save it as a jrn file. Can I get the jsl code starting from the jrn file? From an open report I can generate the jsl code that produces that report so I was wondering if that is possible also for an open journal. I think my view is too simplistic!! I am starting up with jsl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Da: Craige@JMP  &lt;/P&gt;&lt;P&gt;Inviato: mercoledì 12 agosto 2015 19.02&lt;/P&gt;&lt;P&gt;A: Marcello Fidaleo&lt;/P&gt;&lt;P&gt;Oggetto: Re:  - Extracting the JSL code of a journal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.jmp.com/?utm_source=JIVE&amp;amp;utm_medium=email&amp;amp;utm_campaign=System%20Email%20Tracking&amp;gt; JMP User Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extracting the JSL code of a journal &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Craige@JMP &amp;lt;https://community.jmp.com/people/Craige%40JMP?et=watches.email.thread&amp;gt;  in Discussions - View the full discussion &amp;lt;https://community.jmp.com/message/222625?et=watches.email.thread#222625&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 17:35:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13823#M12993</guid>
      <dc:creator>MFVIT</dc:creator>
      <dc:date>2015-08-12T17:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting the JSL code of a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13824#M12994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Journals created from JMP platforms do have a copy of the script would reproduce the platform if the data table was available.&amp;nbsp; But journals created from your own scripts (like the earlier example) do not contain a copy of the script that made the journal.&amp;nbsp; But a journal with buttons that run scripts does contain the button scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original purpose of a journal was to keep a record of the results of running a platform.&amp;nbsp; Mostly the journal is a set of instructions (not JSL) for rebuilding the appearance of the platform without re-running the platform.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But because the platform's red-triangle menu is saved to the journal, the script for re-running the platform is in the journal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want to do?&amp;nbsp; I think there is a better approach than "undoing" a journal, but I'm unclear on the goal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 18:49:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13824#M12994</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2015-08-12T18:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting the JSL code of a journal</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13825#M12995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your clear explanation of how journals work in JMP. I am creating an add-in and I wanted to learn how to write the jsl code that makes the text appear on two columns. From your response to my other question I solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Da: Craige@JMP  &lt;/P&gt;&lt;P&gt;Inviato: mercoledì 12 agosto 2015 20.50&lt;/P&gt;&lt;P&gt;A: Marcello Fidaleo&lt;/P&gt;&lt;P&gt;Oggetto: Re:  - Extracting the JSL code of a journal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.jmp.com/?utm_source=JIVE&amp;amp;utm_medium=email&amp;amp;utm_campaign=System%20Email%20Tracking&amp;gt; JMP User Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extracting the JSL code of a journal &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Craige@JMP &amp;lt;https://community.jmp.com/people/Craige%40JMP?et=watches.email.thread&amp;gt;  in Discussions - View the full discussion &amp;lt;https://community.jmp.com/message/222645?et=watches.email.thread#222645&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 14:31:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-JSL-code-from-a-journal/m-p/13825#M12995</guid>
      <dc:creator>MFVIT</dc:creator>
      <dc:date>2015-08-15T14:31:54Z</dc:date>
    </item>
  </channel>
</rss>

