<?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: Calling a JMP Add-in Menu Item from within the Add-In in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Calling-a-JMP-Add-in-Menu-Item-from-within-the-Add-In/m-p/63226#M33953</link>
    <description>&lt;P&gt;I know this is solved but I'll just throw this out there as my two cents. My script file versions are named by version numbers (though github would be a better way I suppose) but for version 0.4, the unencrypted version would be script_name_0v4.jsl, and the current released encrypted version on the server would be script_name_enc.jsl. This doesn't change, so the the add-ins always point to the correct file name.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jul 2018 16:26:30 GMT</pubDate>
    <dc:creator>mikedriscoll</dc:creator>
    <dc:date>2018-07-18T16:26:30Z</dc:date>
    <item>
      <title>Calling a JMP Add-in Menu Item from within the Add-In</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-a-JMP-Add-in-Menu-Item-from-within-the-Add-In/m-p/63180#M33935</link>
      <description>&lt;P&gt;My apologies if this is a question with a trivial answer. I've written&amp;nbsp;a JMP add-in which contains an assortment of scripts, all of which are referenced by menu items (for example) "Program A", "Program B", "Program C" etc. I want to be able to run&amp;nbsp;the script referenced by menu item "Program B" via a command contained within the script called by menu item "Program A". Can that be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that I don't want to call the script in question with an "include()" statement, because I don't know what the final version of the script called by menu item "Program B" might be (because I could be working on several versions of it, each with a different name, and might replace it at a later date). I just want to call&amp;nbsp;whatever script is&amp;nbsp;associated with&amp;nbsp;the menu item - so I'm &lt;EM&gt;guessing&lt;/EM&gt; that I'll probably have a line in my JSL script that looks something like "runprogram(com.mycompany.myaddin(Program B))". (Obviously this isn't right, but hopefully you can see what I'm trying to do.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 11:13:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-a-JMP-Add-in-Menu-Item-from-within-the-Add-In/m-p/63180#M33935</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2018-07-18T11:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a JMP Add-in Menu Item from within the Add-In</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-a-JMP-Add-in-Menu-Item-from-within-the-Add-In/m-p/63181#M33936</link>
      <description>&lt;P&gt;I haven't checked, but perhaps the 'MainMenu()' JSL command will do this. Depending on the menu strtucture you have, something like 'MainMenu("Add-Ins:Program B")' in the code of 'Program A'.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 11:27:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-a-JMP-Add-in-Menu-Item-from-within-the-Add-In/m-p/63181#M33936</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2018-07-18T11:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a JMP Add-in Menu Item from within the Add-In</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-a-JMP-Add-in-Menu-Item-from-within-the-Add-In/m-p/63204#M33947</link>
      <description>&lt;P&gt;Hi Ian - that works for me: many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 14:11:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-a-JMP-Add-in-Menu-Item-from-within-the-Add-In/m-p/63204#M33947</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2018-07-18T14:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a JMP Add-in Menu Item from within the Add-In</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-a-JMP-Add-in-Menu-Item-from-within-the-Add-In/m-p/63226#M33953</link>
      <description>&lt;P&gt;I know this is solved but I'll just throw this out there as my two cents. My script file versions are named by version numbers (though github would be a better way I suppose) but for version 0.4, the unencrypted version would be script_name_0v4.jsl, and the current released encrypted version on the server would be script_name_enc.jsl. This doesn't change, so the the add-ins always point to the correct file name.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 16:26:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-a-JMP-Add-in-Menu-Item-from-within-the-Add-In/m-p/63226#M33953</guid>
      <dc:creator>mikedriscoll</dc:creator>
      <dc:date>2018-07-18T16:26:30Z</dc:date>
    </item>
  </channel>
</rss>

