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


Scripting Guide > Scripting Platforms
Publication date: 07/24/2024

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 “Structure of JMP Reports”.

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

Contents

Example of Scripting a Platform

Send Messages to a Platform

Conventions for JMP 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 in JMP Platforms

Execute Embedded Red Triangle Options

Make the Platform Analysis Invisible

Save Platform Settings as a Platform Preset

Apply a Platform Preset to a Data Table

Specify Report Titles

Scripting Considerations by Platform

Categorical Scripts
Control Chart Builder Scripts
Distribution Scripts
DOE Scripts
Fit Model Scripts
Formula Depot Scripts
Graph Builder Scripts
Partial Least Squares and PLS Scripts
Process Capability Scripts
Scatterplot 3D Scripts
Text Explorer Scripts
Explore Outliers Scripts
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).