<?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: addin_home path variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/addin-home-path-variable/m-p/39670#M23202</link>
    <description>&lt;P&gt;Lose the single quotes around the add-in ID and it seems to work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;y = Get Path Variable("ADDIN_HOME(com.jmp.eric.booyah)");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;/*:
"/C:/Users/sasewh/AppData/Roaming/SAS/JMP/Addins/com.jmp.eric.booyah/"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eric&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2017 14:13:31 GMT</pubDate>
    <dc:creator>Eric_Hill</dc:creator>
    <dc:date>2017-05-26T14:13:31Z</dc:date>
    <item>
      <title>addin_home path variable</title>
      <link>https://community.jmp.com/t5/Discussions/addin-home-path-variable/m-p/39652#M23190</link>
      <description>&lt;P&gt;It seems on all of my versions of JMP I can't actually get to my path variable addin_home. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;get path variable("addin_home");
//""
get path variable( "ADDIN_HOME(’com.some.real.addin’)" );
//""
convert file path("$Addin_home");

//Cannot expand path expression: $Addin_home
//"/$Addin_home"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but in plenty of my addins the location says $Addin_Home and they work. &amp;nbsp;Can I just not see it from scripting for some reason?&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 22:08:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/addin-home-path-variable/m-p/39652#M23190</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2017-05-25T22:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: addin_home path variable</title>
      <link>https://community.jmp.com/t5/Discussions/addin-home-path-variable/m-p/39670#M23202</link>
      <description>&lt;P&gt;Lose the single quotes around the add-in ID and it seems to work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;y = Get Path Variable("ADDIN_HOME(com.jmp.eric.booyah)");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;/*:
"/C:/Users/sasewh/AppData/Roaming/SAS/JMP/Addins/com.jmp.eric.booyah/"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 14:13:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/addin-home-path-variable/m-p/39670#M23202</guid>
      <dc:creator>Eric_Hill</dc:creator>
      <dc:date>2017-05-26T14:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: addin_home path variable</title>
      <link>https://community.jmp.com/t5/Discussions/addin-home-path-variable/m-p/39672#M23204</link>
      <description>&lt;P&gt;Also just realized that if you type the single quotes it works. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if support sees this. &amp;nbsp;I copied the syntax from here:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.jmp.com/support/help/13/Path_Variables.shtml" target="_blank"&gt;http://www.jmp.com/support/help/13/Path_Variables.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and they use the wrong quotes. &amp;nbsp;Apparently there are slightly different single quotes that JSL doesn't like. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 14:19:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/addin-home-path-variable/m-p/39672#M23204</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2017-05-26T14:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: addin_home path variable</title>
      <link>https://community.jmp.com/t5/Discussions/addin-home-path-variable/m-p/39673#M23205</link>
      <description>&lt;P&gt;Ahh, it's those goofy word-processing fancy single quotes messing up life for programmers yet again ;-).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 14:22:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/addin-home-path-variable/m-p/39673#M23205</guid>
      <dc:creator>Eric_Hill</dc:creator>
      <dc:date>2017-05-26T14:22:45Z</dc:date>
    </item>
  </channel>
</rss>

