Scripting Additions Guide

CHAPTER 2
Scripting Addition Commands
38 Command Definitions
Figure 2-6 A New File dialog box
SYNTAX
new file [ with prompt promptString ] [ default name defaultName ]
PARAMETERS
promptString The prompt that appears in the dialog box. The string you
specify can be up to 255 characters long. If you omit the
with prompt parameter, the prompt "New File Name"
is displayed.
Class: String
Default Value: "New File Name"
defaultName The default filename that appears in the dialog box. The string
you specify can be up to 255 characters long. If you omit the
default name parameter, no default filename is displayed.
Class: String
Default Value: (no default name)
RESULT
A reference of the form file "Disk:Folder1:Folder2:...:Filename" for the
filename and location specified by the user.