Scripting Guide > Scripting Platforms
Publication date: 04/12/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 

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.

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 Script-Only Message
Choice Script-Only Message
Clustering Script-Only Messages
Control Chart Script-Only Message
Control Chart Builder Script-Only Messages
Cumulative Damage Script-Only Message
Custom Profiler Script-Only Messages
Distribution Script-Only Messages
Fit Life by X Script-Only Messages
Fit Model Script-Only Messages
Fit Parametric Survival Script-Only Messages
K Nearest Neighbors Script-Only Messages
Latent Class Analysis Script-Only Message
Life Distribution Script-Only Messages
Multivariate Script-Only Messages
Naive Bayes Script-Only Messages
Neural Script-Only Messages
Pareto Plot Script-Only Message
Partition Script-Only Messages
Process Screening Script-Only Messages
Surface Plot Script-Only Messages
Text Explorer Script-Only Messages
Time Series Script-Only Messages
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).