cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
ben_ph
Level III

Hiding a menu item in JMP Standard only

I have an addin where I'd like to show a menu item only if JMP Pro is being used. Is there something I can include in my addin.jmpcust to do that?

 

Say I have this command in my addin.jmpcust:

<jm:command>
  <jm:name>PRO ONLY</jm:name>
  <jm:caption>Pro Only</jm:caption>
  <jm:action type="text">show("Do something that requires JMP PRO")</jm:action>
  <jm:icon type="none"></jm:icon>
</jm:command>

Right now I give a popup warning if this menu item is selected and JMPProductName()=="Standard".

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Hiding a menu item in JMP Standard only

You can create a startup script that will run and specify which addin.jmpcust to use, based upon finding what JMP Version is running.
jmpstart.jsl
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Hiding a menu item in JMP Standard only

You can create a startup script that will run and specify which addin.jmpcust to use, based upon finding what JMP Version is running.
jmpstart.jsl
Jim
ben_ph
Level III

Re: Hiding a menu item in JMP Standard only

Great suggestion. Thanks @txnelson !