Skip to content
angerangel edited this page Mar 19, 2013 · 2 revisions

USAGE

   REQUEST-FILE /save /multi /file name /title text /filter list

DESCRIPTION

Asks user to select a file and returns full file path (or block of paths).

REQUEST-FILE is a native value.

REFINEMENTS

  • /save -- File save mode
  • /multi -- Allows multiple file selection, returned as a block
  • /file
    • name -- Default file name or directory (file!)
  • /title
    • text -- Window title (string!)
  • /filter
    • list -- Block of filters (filter-name filter) (block!)

#SOURCE

request-file: make native! [  [
    {Asks user to select a file and returns full file path (or block of paths).}
    /save "File save mode"
    /multi {Allows multiple file selection, returned as a block}
    /file name [file!] "Default file name or directory"
    /title text [string!] "Window title"
    /filter list [block!] "Block of filters (filter-name filter)"
] ]

Example

Window request file

Clone this wiki locally