Scripting Additions Guide
Table Of Contents
CHAPTER 2
Scripting Addition Commands
18 Command Deļ¬nitions
Choose Folder 2
The Choose Folder command displays a dialog box like the one in Figure 2-3 to
allow the user to choose a directory (that is, a folder, a volume, or the desktop).
Figure 2-3 A Choose Folder dialog box
The Choose Folder command is one of two commands provided by the Choose
File scripting addition.
SYNTAX
choose folder [ with prompt promptString ]
PARAMETERS
promptString The prompt that appears in the dialog box. The prompt can be
up to 255 characters long, but the standard dialog box has room
for only about 80 characters. If you omit the with prompt
parameter, the string "Choose a folder:" is displayed.
Class: String
Default Value: "Choose a folder:"