Request file

angerangel edited this page Jan 7, 2013 · 1 revision

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)"
] ]
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.