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
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?
Go to Solution
Lose the single quotes around the add-in ID and it seems to work:
y = Get Path Variable("ADDIN_HOME(com.jmp.eric.booyah)");
View solution in original post
Also just realized that if you type the single quotes it works.
So if support sees this. I copied the syntax from here:
and they use the wrong quotes. Apparently there are slightly different single quotes that JSL doesn't like.
Ahh, it's those goofy word-processing fancy single quotes messing up life for programmers yet again ;-).
There are no labels assigned to this post.