<?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 Using JMP Built-In Dialogs with JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1613#M1613</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have written a rather substantial script to do some analysis which creates several data tables along the way. I'd like to be able to include some things to make this script a little more easy for someone other than me to use, such as a button to allow them to save a particular table without them having to figure out which of the 6 open tables it is.&lt;BR /&gt;&lt;BR /&gt;The problem is I'm not sure how to get to a Save As dialog (which is what usually opens when you click Save on a table you've never saved before). Using something like dt = Open() creates an open file dialog, but using dt &amp;lt;&amp;lt; save() doesn't open a dialog. The pick file dialog is similar, but it doesn't let you specify a new filename.&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to access that dialog via JSL?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
    <pubDate>Tue, 06 Apr 2010 18:38:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-06T18:38:42Z</dc:date>
    <item>
      <title>Using JMP Built-In Dialogs with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1613#M1613</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have written a rather substantial script to do some analysis which creates several data tables along the way. I'd like to be able to include some things to make this script a little more easy for someone other than me to use, such as a button to allow them to save a particular table without them having to figure out which of the 6 open tables it is.&lt;BR /&gt;&lt;BR /&gt;The problem is I'm not sure how to get to a Save As dialog (which is what usually opens when you click Save on a table you've never saved before). Using something like dt = Open() creates an open file dialog, but using dt &amp;lt;&amp;lt; save() doesn't open a dialog. The pick file dialog is similar, but it doesn't let you specify a new filename.&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to access that dialog via JSL?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 06 Apr 2010 18:38:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1613#M1613</guid>
      <dc:creator />
      <dc:date>2010-04-06T18:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using JMP Built-In Dialogs with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1614#M1614</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;On windoze, JMP &amp;gt;= 8.01, the brute-force method below will invoke the File, SaveAs dialog:&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2010 14:54:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1614#M1614</guid>
      <dc:creator>mattf</dc:creator>
      <dc:date>2010-04-07T14:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using JMP Built-In Dialogs with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1615#M1615</link>
      <description>Do you need the user to specify the new name or the directory or both?  If it is just the name, you can easily write your own dialog to capture it and then insert it into the save command.  The directory location may be a little trickier.  I haven't used the pick directory command in JMP, but this sounds like a good place to use it.</description>
      <pubDate>Thu, 08 Apr 2010 16:24:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1615#M1615</guid>
      <dc:creator>laural</dc:creator>
      <dc:date>2010-04-08T16:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using JMP Built-In Dialogs with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1616#M1616</link>
      <description>wouldn't the following do the same?&lt;BR /&gt;&lt;BR /&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;BR /&gt;main menu("Save As")</description>
      <pubDate>Fri, 09 Apr 2010 01:35:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1616#M1616</guid>
      <dc:creator>gh</dc:creator>
      <dc:date>2010-04-09T01:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using JMP Built-In Dialogs with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1617#M1617</link>
      <description>Indeed!</description>
      <pubDate>Fri, 09 Apr 2010 13:01:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1617#M1617</guid>
      <dc:creator>mattf</dc:creator>
      <dc:date>2010-04-09T13:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using JMP Built-In Dialogs with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1618#M1618</link>
      <description>That's exactly what I was looking for! &lt;BR /&gt;&lt;BR /&gt;Though to get it to work for a table that's already open, I had to use dt &amp;lt;&amp;lt; Bring Window to Front to get it to work on the right window.&lt;BR /&gt;&lt;BR /&gt;Thanks everyone!</description>
      <pubDate>Fri, 09 Apr 2010 14:50:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JMP-Built-In-Dialogs-with-JSL/m-p/1618#M1618</guid>
      <dc:creator />
      <dc:date>2010-04-09T14:50:50Z</dc:date>
    </item>
  </channel>
</rss>

