Please enable JavaScript to view this site.

This guide is for an old version of Prism. Browse the latest version or update Prism

Navigation: Scripts

Script syntax

Scroll Prev Top Next More

 

Each script command begins with the command name. Most commands then have one or several arguments. Separate the command name from the arguments with a space, and separate the arguments from each other with spaces or commas. You can use upper and lower case letters interchangeably, and can add extra spaces to improve readability.

In the rest of this section, required arguments are shown in square brackets [like this] and optional arguments are shown in angled brackets <like this>. When an argument is in lower case, it describes the value you will enter. When an optional argument is in uppercase, you enter that exact word if you want that option.

General commands

Adding comments to a script

Loops and simulations

Creating new sheets

Changing data tables

Changing graphs

Setting the default drive and folder

Opening and saving Prism Files

Importing data

Changing info constants

Including data and info constants in the script file

Exporting a graph or layout

Exporting data, results or info tables

Copy and paste

Writing to Prism, text, HTML, XML or SQL tables

Writing to text files

Send to Microsoft Office

Special purpose commands

 

 

 

© 1995-2019 GraphPad Software, LLC. All rights reserved.