Have you ever been in this situation? You’re teaching a class using JMP, and you’d like all of your students to have the same Preferences. For example, you’d like everyone to have large markers and horizontal histograms. Or, perhaps you’d like certain statistics or graphical features to display each time you run an analysis.
To a large extent, you can control the look and feel of JMP by setting Preferences (File > Preferences, or JMP > Preferences on a Mac). You could walk through these changes when you first get started with JMP in your class. But if there are many changes, an alternative is to use a script or an add-in to share your saved Preferences.
Create a Set Preferences Script
You can create a script to set Preferences in a few simple steps.
(1) Open a new script window in JMP (from File > New), and run the following script:
(2) Open the JMP log (under the View or Window menu). This will display all of the Preferences you have set.
(3) Copy these Preferences (starting with the word “Show”) and paste between the parentheses in the script below:
Run the script to make sure you copied and pasted correctly. The beginning of the script should look like this:
And the end should look like this:
Save the script, and share it with your students. When the script is run, all Preferences will be updated to match your settings.
Note: There are a few differences between Windows and Mac OS Preferences. If students are using a mix of PCs and Macs, you may want to create two versions of this script.
Create an Add-In
If you’d like to take this a step further, you can create an add-in using the Add-In Builder (under File > New).
Steps to create add-ins have been detailed in other blog posts, but here are the key points.
Use the General Info tab to name the add-in.
Use the Menu Items tab to create one menu item (for example, “Set Preferences”), and copy and paste the script created above next to Run this JSL. Or, if you saved the script, use the option Run JSL in this file.
Save the add-in, and then share it with your students. When the add-in is opened, it will install a Set Preferences menu item under the Add-Ins menu. When run, all Preferences will be updated to match yours.
Note (added Sept 2016): These steps only capture general JMP preferences. To also capture and set platform-specific preferences, use Get Platform Preferences ( ); and Set Platform Preferences ();.