<?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: Unable to run addins within Project in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384269#M63466</link>
    <description>&lt;P&gt;I found this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/16.0/?os=win&amp;amp;source=application&amp;amp;utm_source=helpmenu&amp;amp;utm_medium=application#page/jmp/running-scripts-in-a-project.shtml" target="_blank"&gt;https://www.jmp.com/support/help/en/16.0/?os=win&amp;amp;source=application&amp;amp;utm_source=helpmenu&amp;amp;utm_medium=application#page/jmp/running-scripts-in-a-project.shtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;"JMP can have several&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;s open at the same time, as well as items not open in any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project.&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Each&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;has its own&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;global&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;scope, which prevents conflicts caused by identically named variables in different&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;s. In the rare case that you do want to share specific variables among all opened&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;s, use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="code" style="font-family: 'Courier New', mono; font-size: 16px; background: #efefef; padding: 2px 5px; border-radius: 3px; margin: 0px; color: #222222; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;:::&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;root operator."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;I think if your add-in loads scripts that you want to use from a project, the ::: may be what you need. I've not tried it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4084"&gt;@aaron_andersen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 16:55:28 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2021-05-11T16:55:28Z</dc:date>
    <item>
      <title>Unable to run addins within Project</title>
      <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/383815#M63434</link>
      <description>&lt;P&gt;We have organized many scripts into an addin for our company.&amp;nbsp; The addin responds but scripts will not run when invoked within 'Project'.&amp;nbsp; Is this something that can be remedied through the addin scripting or does the script itself have to be contained separately within the project?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:46:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/383815#M63434</guid>
      <dc:creator>LynnWarren</dc:creator>
      <dc:date>2023-06-09T19:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run addins within Project</title>
      <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384150#M63463</link>
      <description>&lt;P&gt;I am guessing your add-in relies on global variables that are defined when the add-in loads and are referenced later when the add-in functionality is invoked.&amp;nbsp; In projects, the global context is different than other projects and in the rest of JMP, and anything defined by the add-in is not accessible from within the project.&amp;nbsp; To combat this you can set all menu options to open files or run scripts that include a checks if the add-in is already loaded (ex: check if appropriate globals exist) and if it isn't loaded, to reload the addin. That way the add-in namespace and variables are loaded the first time the user invokes the add-in within a project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you aren't relying on global variables in your add-in, can you give more details about what functionality isn't working?&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 20:30:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384150#M63463</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-05-12T20:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run addins within Project</title>
      <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384269#M63466</link>
      <description>&lt;P&gt;I found this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/16.0/?os=win&amp;amp;source=application&amp;amp;utm_source=helpmenu&amp;amp;utm_medium=application#page/jmp/running-scripts-in-a-project.shtml" target="_blank"&gt;https://www.jmp.com/support/help/en/16.0/?os=win&amp;amp;source=application&amp;amp;utm_source=helpmenu&amp;amp;utm_medium=application#page/jmp/running-scripts-in-a-project.shtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;"JMP can have several&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;s open at the same time, as well as items not open in any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project.&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Each&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;has its own&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;global&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;scope, which prevents conflicts caused by identically named variables in different&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;s. In the rare case that you do want to share specific variables among all opened&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight" style="background-color: yellow; color: #333333; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;s, use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="code" style="font-family: 'Courier New', mono; font-size: 16px; background: #efefef; padding: 2px 5px; border-radius: 3px; margin: 0px; color: #222222; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;:::&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;root operator."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans_serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;I think if your add-in loads scripts that you want to use from a project, the ::: may be what you need. I've not tried it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4084"&gt;@aaron_andersen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 16:55:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384269#M63466</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-05-11T16:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run addins within Project</title>
      <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384277#M63467</link>
      <description>&lt;P&gt;Craige's idea is the first thing I'd look into also. (If that doesn't work, I'd need to see the adin-in, or at least know more about what it does, to make additional suggestions).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aa&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 17:14:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384277#M63467</guid>
      <dc:creator>aaron_andersen</dc:creator>
      <dc:date>2021-05-11T17:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run addins within Project</title>
      <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384371#M63471</link>
      <description>&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote the add-ins that Lynn is using in her question.&amp;nbsp; I created a namespace for each add-in to avoid variable collisions.&amp;nbsp; Do these namespaces only exist within the non-project global scope?&amp;nbsp; Is there a way that I could create namespaces within the ":::" global scope?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 20:34:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384371#M63471</guid>
      <dc:creator>johnmoore</dc:creator>
      <dc:date>2021-05-11T20:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run addins within Project</title>
      <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384399#M63475</link>
      <description>&lt;P&gt;I'm not sure; &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4084"&gt;@aaron_andersen&lt;/a&gt;&amp;nbsp; will know the correct answer. My quick test suggests you'll need a global &lt;EM&gt;variable&lt;/EM&gt; holding a namespace; the various namespace functions (and class functions) appear blind to the namespaces outside of the project. What I did that looks like it will work: from outside of the project, assign a global. I used ::: but I think that is only special in a project.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:::myNameSpace = namespace("myNameSpace"); // "globalize" a namespace&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;From within the project, :::myNameSpace appears to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure when the project OnOpen script runs and what context it runs in, but it might be part of the solution. It could possibly run the add-in to re-create the functions within the project's scope. (I played with it earlier and it seemed like it might be useful for arranging windows when the project was opened. I didn't need that.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand the reason to keep the JSL functions isolated in a namespace without creating a global variable. I hope there is a way to keep that working. (Of course the namespace names are another global space...and I suppose that is what the project may be fighting.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 02:38:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384399#M63475</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-05-12T02:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run addins within Project</title>
      <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384615#M63501</link>
      <description>&lt;P&gt;Each project in JMP has its own globals and namespace listing. This is also true for the non-project part of JMP. So if you create a global:a outside of a project, it won't be visible in any project. And if you create a global:b inside Project01, it won't be visible outside of that project or in any other project. In addition, if you create a namespace "A" outside a project, it won't be visible (by name, as in A:symbol) inside any project. And similar for creating a namespace in a project. This is done to keep projects isolated from each other and from non-projects. And it allows for running multiple copies of the same script across several projects without them colliding with each other even if they use globals.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to communicate across projects or between non-projects and projects, the best way is to the root namespace (::: or As Root syntax). Symbols in this namespace are unique across the running JMP instance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, as Craig suggested, you could assign a namespace to a symbol in the root namespace. Then use that namespace by symbol, like As Root(myNsSym):x, instead of by name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you only need responses to menu items and buttons, then the suggestion above to delay initialization of the addin until each of these is a good option. Then, the addin will be initialized in each project when it is first used. And you can use a global to check for prior initialization. I've done this for several add-ins in the past. However, it means your start-up and exit scripts need to be pretty bare because you aren't doing much when JMP starts/exits. This also doesn't work if you need something beyond responses to menus or if you need to communicate across projects. In these cases, the root namespace would probably be best.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, you could use the Project OnOpen script or the Workspace Startup script to initialize things as well. See&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/16.0/index.shtml#page/jmp/write-a-project-on-open-script-2.shtml" target="_blank"&gt;https://www.jmp.com/support/help/en/16.0/index.shtml#page/jmp/write-a-project-on-open-script-2.shtml&lt;/A&gt; and &lt;A href="https://www.jmp.com/support/help/en/16.0/index.shtml#page/jmp/run-startup-scripts-to-control-workspaces.shtml#ww632187" target="_blank"&gt;https://www.jmp.com/support/help/en/16.0/index.shtml#page/jmp/run-startup-scripts-to-control-workspaces.shtml#ww632187&lt;/A&gt; for more information on those. If you already don't do much in your start-up/exit scripts for your addin, you might even just attempt Try(Get Addin("...")&amp;lt;&amp;lt;Unload&amp;lt;&amp;lt;Load) with your addin in one of those scripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 16:44:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/384615#M63501</guid>
      <dc:creator>EvanMcCorkle</dc:creator>
      <dc:date>2021-05-12T16:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run addins within Project</title>
      <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/808122#M98755</link>
      <description>&lt;P&gt;Namespaces and Projects - unfortunately more complicated than discussed here ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought it'd be a good idea to create the functions from the &lt;LI-MESSAGE title="Recall Function Library" uid="49462" url="https://community.jmp.com/t5/JMP-Scripts/Recall-Function-Library/m-p/49462#U49462" 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; as custom functions and load them via an AddIn when JMP starts. This way the functionality is nicely documented via the scripting index - and no user has to bother to include the library in their AddIn or project - it's already there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I realized that the original namespace was only created in the global namespace of JMP - and that I had to globalize the namespace via&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:::myNameSpace = namespace("myNameSpace"); // "globalize" a namespace&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to make it accessible from projects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I ran into additional issues which I documented here:&lt;BR /&gt;&lt;LI-MESSAGE title="Namespaces and Projects" uid="807137" url="https://community.jmp.com/t5/Discussions/Namespaces-and-Projects/m-p/807137#U807137" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 06:35:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/808122#M98755</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-10-25T06:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run addins within Project</title>
      <link>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/808126#M98758</link>
      <description>&lt;P&gt;A cool trick, thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1643"&gt;@Jasean&lt;/a&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;localize the root namespace to use it in Projects&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myVar = :::myNs
myVar:x // success&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Why was my issue not discussed in 2021?&lt;/P&gt;&lt;P&gt;Does somebody have a license which works with JMP16 and below - and could check if there WAS as issue in 2021?&lt;BR /&gt;or did you use&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1643"&gt;@Jasean&lt;/a&gt;&amp;nbsp;'s trick "by default" ...&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 06:36:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Unable-to-run-addins-within-Project/m-p/808126#M98758</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-10-25T06:36:06Z</dc:date>
    </item>
  </channel>
</rss>

