For the latest version of JMP Help, visit JMP.com/help.


Scripting Guide > Scripting Platforms
Publication date: 04/28/2021

Scripting Platforms

Create, Repeat, and Modify Analyses

If you run the same analysis frequently, you can script it to automate the process. Anyone can then run the script, ensuring the same results every time. To get started, perform your analysis interactively as you normally would with JMP, and then save a script that re-creates that analysis. You can modify the script to further customize it.

Figure 10.1 Typical Workflow for Scripting Platforms 

This chapter is about scripting platforms, not reports. Platform object references and report object references receive different types of JSL messages. Platforms can run tests, draw plots, and so on. Reports can copy pictures, select display boxes, or close outline nodes. To learn about scripting reports, see the section Navigate JMP Reports in the Display Trees section.

Tip: For additional scripting help, see the JMP Scripting Index (Help > Scripting Index) and the JSL Syntax Reference.

Contents

Example of Scripting a Platform

Send Messages to a Platform

Conventions for Messages and Arguments
Send Multiple Messages
Find Messages for Objects
Interpret the Show Properties List
Send Messages to an Object

Specify Which Columns to Analyze

Create Column References
Specify Multiple Column Names at Once
Enable Users to Specify Columns
Specify a By Variable

Filter by Value using a Where Statement

Enable User Input

Execute Embedded Red Triangle Options

Make Platforms Invisible

Specify Report Titles

Common Messages for Platform Windows

Scripting Considerations by Platform

Categorical
Control Charts
Distribution
DOE
Fit Model
Formula Depot
Graph Builder
Neural and Neural Net
Partial Least Squares and PLS
Process Capability
Scatterplot 3D
Text Explorer
Explore Outliers

Scripting-Only Messages and Arguments by Platform

Bivariate
Choice
Clustering
Control Chart
Control Chart Builder
Cumulative Damage
Custom Profiler
Distribution
Fit Life by X
Fit Model
Fit Parametric Survival
K Nearest Neighbors
Latent Class Analysis
Life Distribution
Multivariate
Naive Bayes
Neural
Pareto Plot
Partition
Surface Plot
Text Explorer
Time Series
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).