cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
vince_faller
Super User (Alumni)

addin_home path variable

It seems on all of my versions of JMP I can't actually get to my path variable addin_home.  

 

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"

but in plenty of my addins the location says $Addin_Home and they work.  Can I just not see it from scripting for some reason?

Vince Faller - Predictum
1 ACCEPTED SOLUTION

Accepted Solutions
Eric_Hill
Staff

Re: addin_home path variable

Lose the single quotes around the add-in ID and it seems to work:

 

y = Get Path Variable("ADDIN_HOME(com.jmp.eric.booyah)");
/*:
"/C:/Users/sasewh/AppData/Roaming/SAS/JMP/Addins/com.jmp.eric.booyah/"

HTH,

 

Eric

View solution in original post

3 REPLIES 3
Eric_Hill
Staff

Re: addin_home path variable

Lose the single quotes around the add-in ID and it seems to work:

 

y = Get Path Variable("ADDIN_HOME(com.jmp.eric.booyah)");
/*:
"/C:/Users/sasewh/AppData/Roaming/SAS/JMP/Addins/com.jmp.eric.booyah/"

HTH,

 

Eric

vince_faller
Super User (Alumni)

Re: addin_home path variable

Also just realized that if you type the single quotes it works.  

So if support sees this.  I copied the syntax from here: 

http://www.jmp.com/support/help/13/Path_Variables.shtml

 

and they use the wrong quotes.  Apparently there are slightly different single quotes that JSL doesn't like.  

 

Vince Faller - Predictum
Eric_Hill
Staff

Re: addin_home path variable

Ahh, it's those goofy word-processing fancy single quotes messing up life for programmers yet again ;-).

 

Eric

Recommended Articles