NextPrevUpTopContentsIndex

prompt-for-files

Function
Summary

Displays a dialog which returns multiple filenames.

Package

capi

Signature

prompt-for-files message &key pathname ok-check filter filters
if-exists if-does-not-exist operation owner
pane-args popup-args
=> filenames , successp , filter-name

Values

filenames

A list.

successp

A boolean.

filter-name

A string.

Description

The function prompt-for-files presents the user with a dialog box similarly to prompt-for-file, but in which multiple filenames can be selected.

The arguments are as for prompt-for-file, except that filters defaults to:

  ("MS Word files" "*.doc"
    "HTML files" "*.htm;*.html"
    "Plain Text files" "*.txt;*.text"
    "All files" "*.*")

filenames is a list of filenames, or nil if the user cancels the dialog.

successp is a flag which is nil if the dialog was cancelled, and t otherwise.

filter-name is the name of the filter that was selected in the dialog.

Note: prompt-for-files is currently implemented only in LispWorks for Windows.

See also

prompt-for-file


LispWorks CAPI Reference Manual - 11 Apr 2005

NextPrevUpTopContentsIndex