GetFiles
Description: |
baGetFiles displays a files dialog box and returns the files selected. | ||||||||||||
Platforms: |
Windows and Macintosh | ||||||||||||
Usage: |
Result = baGetFiles( StartDir, FileSpec, SelectedFile, Title, Instruction, Flags, X, Y ) | ||||||||||||
Arguments: |
String, string, string, string, integer, integer, integer. |
||||||||||||
Returns: |
String or List. Returns the file name selected, or "" if the user cancelled. If the Multiselect option is used, the return will be a list of the file selected. |
||||||||||||
Examples: |
Director: Authorware: |
||||||||||||
Notes: |
On Windows, The FileSpec is a standard DOS wildcard string. Use an empty string to show all files. The X and Y values are the number of pixels from the top left corner of the screen. Set X to -1 to position the dialog in the center of the calling Director/Authorware window. Set X to -2 to position the dialog in the center of the screen. The flags argument allows you to change the way the dialog box looks and behaves. It can be the combination of any of these values:
|
||||||||||||
See also: |