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

Creating new sheets

Scroll Prev Top Next More

Commands

DuplicateDataTable  <CLEAR>

DuplicateFamily  [prepend_text] <CLEAR>

CreateLayout [#rows] [#columns] <orientation> <#StartingGraphIndex> <#Graphs>

 

Explanation

 

DuplicateDataTable

For the most part, script commands navigate among sheets you have already created by hand. You can’t create new data tables, new analyses or new graphs in a script except by duplicating existing ones. When you duplicate a data table, all you get is a new data table. You can import data into it, but not analyze or graph within the script.

DuplicateFamily

Duplicates a sheet as well as all linked sheets. Import new data to replace the existing data, and all analyses and graphs will update.

All new sheets include the prepended text in front of the sheet name. Enter %F as the prepend text, to use the name of the most recently imported file.

CreateLayout

Create a new layout with an array of placeholders with the specified number of rows and columns on a page of the specified orientation "portrait" or "landscape" (portrait is the default).  Assign graphs starting with the specified one. Specify by rank order in the navigator, with "1" as the first graph. If you specify GraphsCount, Prism will assign that many graphs only. If you omit this parameter, Prism will stop when it has reached either the last placeholder on your layout or the last graph in the project

 

 

 

 

 

 

 

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