General commands

Print this Topic

Commands

GoTo <section: D, I, R, G, or L >, <sheet#>, <view#>

GoTo +        

SetSheetTitle [“new name”]  <charposition>

Print  (prints current sheet only.)

Explanation

The GoTo command is used in almost every script, to navigate to a different sheet in the project as these examples show:

Example:

Description:

GoTo G

Go to the graphs section, to the most recently viewed graph.

GoTo 3

Go to the third sheet of the current section.

GoTo G, 3

Go to the third graph.

GoTo V2

Go to the second view (subpage) of the current results.

GoTo R, 3, V2

Go to the second view of the third results sheet.

GoTo +

Go to the next sheet in the current section.

GoTo -

Go to the previous sheet in the current section.

If you include the optional parameter charposition in the SetSheetTitle command, the new name will be inserted between characters charposition and charposition +1 of the old name. If you omit charposition, then the new name replaces the old.



Copyright (c) 2007 GraphPad Software Inc. All rights reserved.
URL: http://www.graphpad.com/help/Prism5/Prism5Help.html?general_commands.htm